~xdavidwu/xdavidwu.link

9ce87108ff505bc3b33a30b9548b566704fcdab9 — Michael Rose 8 years ago 759766a
If page doesn't have a title fallback to site.title
1 files changed, 1 insertions(+), 1 deletions(-)

M _includes/page__hero.html
M _includes/page__hero.html => _includes/page__hero.html +1 -1
@@ 25,7 25,7 @@
        {% if paginator %}
          {{ site.title }}{% unless paginator.page == 1 %} {{ site.data.ui-text[site.locale].page }} {{ paginator.page }}{% endunless %}
        {% else %}
          {{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}
          {{ page.title | default: site.title | markdownify | remove: "<p>" | remove: "</p>" }}
        {% endif %}
      </h1>
      {% if page.excerpt %}