mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2025-01-29 19:07:30 +01: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
|
||||
---
|
||||
template: overrides/hero.html
|
||||
template: hero.html
|
||||
---
|
||||
```
|
||||
|
||||
=== "Template"
|
||||
|
||||
``` html
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block hero %}
|
||||
<!-- Add custom hero here -->
|
||||
{% endblock %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user