From 9ce87108ff505bc3b33a30b9548b566704fcdab9 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Thu, 14 Apr 2016 14:26:47 -0400 Subject: [PATCH] If page doesn't have a title fallback to site.title --- _includes/page__hero.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/page__hero.html b/_includes/page__hero.html index cbb5689..8432fbd 100644 --- a/_includes/page__hero.html +++ b/_includes/page__hero.html @@ -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: "

" | remove: "

" }} + {{ page.title | default: site.title | markdownify | remove: "

" | remove: "

" }} {% endif %} {% if page.excerpt %} -- 2.43.0