diff --git a/_includes/post_index.html b/_includes/post_index.html index d67bef8..974a73c 100644 --- a/_includes/post_index.html +++ b/_includes/post_index.html @@ -1,7 +1,18 @@ -{% if include.title == blank %} + +{% assign title=(include.title | default: site.index.title)%} + +{% if title == blank %}

{{ include.posts | size }} blogs since {{ include.posts | sort: 'date' | map: 'date' | compact | first | date: '%Y' }}

{% else if %} -

{{ include.title }}

+

{{ title }}

+{% endif %} + +{% if site.index.intro != blank %} + {{ site.index.intro }} +{% endif %} + +{% if site.index.subtitle != blank %} +

{{ site.index.subtitle }}

{% endif %} {% assign prev_year = 'first run' %} @@ -35,3 +46,7 @@ {% if current_year != date %} {% endif %} {% endfor %} + +{% if site.index.outro != blank %} + {{ site.index.outro }} +{% endif %}