Added support for changing header through metadata 'title' property

This commit is contained in:
squidfunk
2019-05-17 21:42:02 +02:00
parent 98a62074ad
commit 76eebf53c2
2 changed files with 6 additions and 2 deletions

View File

@@ -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>