mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Merge pull request #72 from brendo/easier-templating
Add a 'header' template block for easier customisation
This commit is contained in:
commit
df4351e6bc
@ -57,7 +57,9 @@
|
||||
<input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="drawer">
|
||||
<input class="md-toggle" data-md-toggle="search" type="checkbox" id="search">
|
||||
<label class="md-overlay" data-md-overlay for="drawer"></label>
|
||||
{% include "partials/header.html" %}
|
||||
{% block header %}
|
||||
{% include "partials/header.html" %}
|
||||
{% endblock %}
|
||||
<div class="md-container">
|
||||
<main class="md-main">
|
||||
<div class="md-main__inner md-grid">
|
||||
|
@ -123,7 +123,9 @@
|
||||
<label class="md-overlay" data-md-overlay for="drawer"></label>
|
||||
|
||||
<!-- Application header -->
|
||||
{% include "partials/header.html" %}
|
||||
{% block header %}
|
||||
{% include "partials/header.html" %}
|
||||
{% endblock %}
|
||||
|
||||
<!-- Container, necessary for web-application context -->
|
||||
<div class="md-container">
|
||||
|
Loading…
Reference in New Issue
Block a user