If page doesn't have a title fallback to site.title
This commit is contained in:
parent
759766a66e
commit
9ce87108ff
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
||||||
{% if paginator %}
|
{% if paginator %}
|
||||||
{{ site.title }}{% unless paginator.page == 1 %} {{ site.data.ui-text[site.locale].page }} {{ paginator.page }}{% endunless %}
|
{{ site.title }}{% unless paginator.page == 1 %} {{ site.data.ui-text[site.locale].page }} {{ paginator.page }}{% endunless %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}
|
{{ page.title | default: site.title | markdownify | remove: "<p>" | remove: "</p>" }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</h1>
|
</h1>
|
||||||
{% if page.excerpt %}
|
{% if page.excerpt %}
|
||||||
|
|
Loading…
Reference in a new issue