mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Added support for announcement bar
This commit is contained in:
parent
eb968dfec0
commit
a5858e4694
@ -224,6 +224,13 @@
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
<!-- Announcement bar -->
|
||||
{% if self.announcement() %}
|
||||
<div class="md-announcement" data-md-component="announcement">
|
||||
{% block announcement %}{% endblock %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<!-- Application header -->
|
||||
{% block header %}
|
||||
{% include "partials/header.html" %}
|
||||
|
Loading…
Reference in New Issue
Block a user