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
f9f8c3afdb
@ -98,13 +98,15 @@ templates can be shared among multiple pages:
|
|||||||
|
|
||||||
``` markdown
|
``` markdown
|
||||||
---
|
---
|
||||||
template: overrides/hero.html
|
template: hero.html
|
||||||
---
|
---
|
||||||
```
|
```
|
||||||
|
|
||||||
=== "Template"
|
=== "Template"
|
||||||
|
|
||||||
``` html
|
``` html
|
||||||
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% block hero %}
|
{% block hero %}
|
||||||
<!-- Add custom hero here -->
|
<!-- Add custom hero here -->
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
Reference in New Issue
Block a user