mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-07-25 07:12:44 -04:00
Added support for changing header through metadata 'title' property
This commit is contained in:
@@ -57,7 +57,11 @@
|
||||
{{- config.site_name -}}
|
||||
</span>
|
||||
<span class="md-header-nav__topic">
|
||||
{{- page.title -}}
|
||||
{%- if page and page.meta and page.meta.title -%}
|
||||
{{- page.meta.title -}}
|
||||
{%- else -%}
|
||||
{{- page.title -}}
|
||||
{%- endif -%}
|
||||
</span>
|
||||
{%- endif -%}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user