mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Merge pull request #2362 from seandstewart/add-extracopy-footer
Add `extracopyright` block to footer.html
This commit is contained in:
commit
1e9746b841
2
.gitignore
vendored
2
.gitignore
vendored
@ -26,6 +26,7 @@
|
||||
/node_modules
|
||||
/__pycache__
|
||||
/venv
|
||||
/.venv
|
||||
|
||||
# Build files
|
||||
/build
|
||||
@ -62,3 +63,4 @@ tmp
|
||||
|
||||
# IDEs
|
||||
.vscode
|
||||
.idea
|
||||
|
@ -179,12 +179,13 @@ Then, e.g. to override the site title, add the following line to `main.html`:
|
||||
Material for MkDocs provides the following template blocks:
|
||||
|
||||
| Block name | Wrapped contents |
|
||||
| ------------ | ----------------------------------------------- |
|
||||
|:------------------|:------------------------------------------------|
|
||||
| `analytics` | Wraps the Google Analytics integration |
|
||||
| `announce` | Wraps the announcement bar |
|
||||
| `config` | Wraps the JavaScript application config |
|
||||
| `content` | Wraps the main content |
|
||||
| `disqus` | Wraps the Disqus integration |
|
||||
| `extracopyright` | Empty block to add custom copyright information |
|
||||
| `extrahead` | Empty block to add custom meta tags |
|
||||
| `fonts` | Wraps the font definitions |
|
||||
| `footer` | Wraps the footer with navigation and copyright |
|
||||
|
@ -49,6 +49,7 @@
|
||||
<a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
|
||||
Material for MkDocs
|
||||
</a>
|
||||
{% block extracopyright %}{% endblock %}
|
||||
</div>
|
||||
{% include "partials/social.html" %}
|
||||
</div>
|
||||
|
@ -94,6 +94,7 @@
|
||||
>
|
||||
Material for MkDocs
|
||||
</a>
|
||||
{% block extracopyright %}{% endblock %}
|
||||
</div>
|
||||
|
||||
<!-- Social links -->
|
||||
|
Loading…
Reference in New Issue
Block a user