mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Documentation
This commit is contained in:
parent
9508756648
commit
c490983de2
@ -176,19 +176,11 @@ hide:
|
|||||||
:octicons-file-symlink-file-24: Customization
|
:octicons-file-symlink-file-24: Customization
|
||||||
|
|
||||||
In order to customize and override the [copyright notice], [extend the theme]
|
In order to customize and override the [copyright notice], [extend the theme]
|
||||||
and [override the `copyright` block][overriding blocks], which is normally set
|
and [override the `copyright` partial][overriding partials], which normally
|
||||||
to the `copyright` property set in `mkdocs.yml`:
|
includes the `copyright` property set in `mkdocs.yml`.
|
||||||
|
|
||||||
``` html
|
|
||||||
{% extends "base.html" %}
|
|
||||||
|
|
||||||
{% block copyright %}
|
|
||||||
<!-- Add copyright here, including arbitrary HTML -->
|
|
||||||
{% endblock %}
|
|
||||||
```
|
|
||||||
|
|
||||||
[Custom copyright support]: https://github.com/squidfunk/mkdocs-material/releases/tag/8.0.0
|
[Custom copyright support]: https://github.com/squidfunk/mkdocs-material/releases/tag/8.0.0
|
||||||
[copyright notice]: #copyright-notice
|
[copyright notice]: #copyright-notice
|
||||||
[generator notice]: #generator-notice
|
[generator notice]: #generator-notice
|
||||||
[extend the theme]: ../customization.md#extending-the-theme
|
[extend the theme]: ../customization.md#extending-the-theme
|
||||||
[overriding blocks]: ../customization.md#overriding-blocks
|
[overriding partials]: ../customization.md#overriding-partials
|
||||||
|
Loading…
Reference in New Issue
Block a user