diff --git a/material/overrides/home.html b/material/overrides/home.html index b7e4771eb..68095245b 100644 --- a/material/overrides/home.html +++ b/material/overrides/home.html @@ -4,7 +4,7 @@ {% extends "overrides/main.html" %} {% block tabs %} {{ super() }} - +
@@ -12,12 +12,8 @@
-

Beautiful and functional project documentation

-

- Create a static site to host the documentation of your Open Source - or commercial project in a matter of minutes – hackable, - mobile-ready, translated into 41 languages, client-side search. -

+

Technical documentation that just works

+

{{ config.site_description }}. Set up in 5 minutes.

Get started diff --git a/material/overrides/main.html b/material/overrides/main.html index 9a7929d9f..706783a62 100644 --- a/material/overrides/main.html +++ b/material/overrides/main.html @@ -2,6 +2,23 @@ This file was automatically generated - do not edit -#} {% extends "base.html" %} +{% block extrahead %} + {% set title = config.site_name %} + {% if page and page.title and not page.is_homepage %} + {% set title = config.site_name ~ " - " ~ page.title | striptags %} + {% endif %} + {% set image = 'assets/images/illustration.png' | url %} + + + + + + + + + + +{% endblock %} {% block announce %} Material for MkDocs 5.0.0rc3 {% endblock %} diff --git a/mkdocs.yml b/mkdocs.yml index a2a9c0bd7..c4444207d 100755 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -20,7 +20,10 @@ # Project information site_name: Material for MkDocs -site_description: A Material Design theme for MkDocs +site_description: >- + Create a branded static site from a set of Markdown files to host the + documentation of your Open Source or commercial project – customizable, + searchable, mobile-friendly, 40+ languages site_author: Martin Donath site_url: https://squidfunk.github.io/mkdocs-material/ diff --git a/src/overrides/home.html b/src/overrides/home.html index 9f04af97a..e4685bb4c 100644 --- a/src/overrides/home.html +++ b/src/overrides/home.html @@ -47,7 +47,7 @@ .tx-container { padding-top: 1rem; background: - url("data:image/svg+xml;utf8,") no-repeat bottom, + url("data:image/svg+xml;utf8,") no-repeat bottom, linear-gradient( to bottom, var(--md-primary-fg-color), @@ -153,12 +153,8 @@
-

Beautiful and functional project documentation

-

- Create a static site to host the documentation of your Open Source - or commercial project in a matter of minutes – hackable, - mobile-ready, translated into 41 languages, client-side search. -

+

Technical documentation that just works

+

{{ config.site_description }}. Set up in 5 minutes.

+{% block extrahead %} + + + {% set title = config.site_name %} + {% if page and page.title and not page.is_homepage %} + {% set title = config.site_name ~ " - " ~ page.title | striptags %} + {% endif %} + + + {% set image = 'assets/images/illustration.png' | url %} + + + + + + + + + + + + + + +{% endblock %} + {% block announce %} Material for MkDocs 5.0.0rc3