mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Merge branch 'master' of github.com:squidfunk/mkdocs-material
This commit is contained in:
commit
827f480393
2
.gitignore
vendored
2
.gitignore
vendored
@ -26,6 +26,7 @@
|
|||||||
/node_modules
|
/node_modules
|
||||||
/__pycache__
|
/__pycache__
|
||||||
/venv
|
/venv
|
||||||
|
/.venv
|
||||||
|
|
||||||
# Build files
|
# Build files
|
||||||
/build
|
/build
|
||||||
@ -62,3 +63,4 @@ tmp
|
|||||||
|
|
||||||
# IDEs
|
# IDEs
|
||||||
.vscode
|
.vscode
|
||||||
|
.idea
|
||||||
|
@ -178,26 +178,27 @@ Then, e.g. to override the site title, add the following line to `main.html`:
|
|||||||
|
|
||||||
Material for MkDocs provides the following template blocks:
|
Material for MkDocs provides the following template blocks:
|
||||||
|
|
||||||
| Block name | Wrapped contents |
|
| Block name | Wrapped contents |
|
||||||
| ------------ | ----------------------------------------------- |
|
|:------------------|:------------------------------------------------|
|
||||||
| `analytics` | Wraps the Google Analytics integration |
|
| `analytics` | Wraps the Google Analytics integration |
|
||||||
| `announce` | Wraps the announcement bar |
|
| `announce` | Wraps the announcement bar |
|
||||||
| `config` | Wraps the JavaScript application config |
|
| `config` | Wraps the JavaScript application config |
|
||||||
| `content` | Wraps the main content |
|
| `content` | Wraps the main content |
|
||||||
| `disqus` | Wraps the Disqus integration |
|
| `disqus` | Wraps the Disqus integration |
|
||||||
| `extrahead` | Empty block to add custom meta tags |
|
| `extracopyright` | Empty block to add custom copyright information |
|
||||||
| `fonts` | Wraps the font definitions |
|
| `extrahead` | Empty block to add custom meta tags |
|
||||||
| `footer` | Wraps the footer with navigation and copyright |
|
| `fonts` | Wraps the font definitions |
|
||||||
| `header` | Wraps the fixed header bar |
|
| `footer` | Wraps the footer with navigation and copyright |
|
||||||
| `hero` | Wraps the hero teaser (if available) |
|
| `header` | Wraps the fixed header bar |
|
||||||
| `htmltitle` | Wraps the `<title>` tag |
|
| `hero` | Wraps the hero teaser (if available) |
|
||||||
| `libs` | Wraps the JavaScript libraries (header) |
|
| `htmltitle` | Wraps the `<title>` tag |
|
||||||
| `scripts` | Wraps the JavaScript application (footer) |
|
| `libs` | Wraps the JavaScript libraries (header) |
|
||||||
| `source` | Wraps the linked source files |
|
| `scripts` | Wraps the JavaScript application (footer) |
|
||||||
| `site_meta` | Wraps the meta tags in the document head |
|
| `source` | Wraps the linked source files |
|
||||||
| `site_nav` | Wraps the site navigation and table of contents |
|
| `site_meta` | Wraps the meta tags in the document head |
|
||||||
| `styles` | Wraps the stylesheets (also extra sources) |
|
| `site_nav` | Wraps the site navigation and table of contents |
|
||||||
| `tabs` | Wraps the tabs navigation (if available) |
|
| `styles` | Wraps the stylesheets (also extra sources) |
|
||||||
|
| `tabs` | Wraps the tabs navigation (if available) |
|
||||||
|
|
||||||
For more on this topic refer to the [MkDocs documentation][5].
|
For more on this topic refer to the [MkDocs documentation][5].
|
||||||
|
|
||||||
|
@ -49,6 +49,7 @@
|
|||||||
<a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
|
<a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
|
||||||
Material for MkDocs
|
Material for MkDocs
|
||||||
</a>
|
</a>
|
||||||
|
{% block extracopyright %}{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
{% include "partials/social.html" %}
|
{% include "partials/social.html" %}
|
||||||
</div>
|
</div>
|
||||||
|
@ -94,6 +94,7 @@
|
|||||||
>
|
>
|
||||||
Material for MkDocs
|
Material for MkDocs
|
||||||
</a>
|
</a>
|
||||||
|
{% block extracopyright %}{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Social links -->
|
<!-- Social links -->
|
||||||
|
Loading…
Reference in New Issue
Block a user