_layouts/post.html in slow-steps-0.3.2 vs _layouts/post.html in slow-steps-0.3.3

- old
+ new

@@ -6,10 +6,10 @@ {% picture {{ page.image | prepend: 'posts/' }} --alt {{ page.image_alt }} --img class="post__hero" %} <div class="post__title"> <h1 >{{ page.title }}</h1> -<p class="post__meta">{{ site.data.authors[page.author].name }} | {{ site.data.authors[page.author].email }} | {{ page.date | date: "%d-%m-%y" }}</p> +<p class="post__meta">{%- if page.author -%}{{ site.data.authors[page.author].name }} | {{ site.data.authors[page.author].email }}{%- else -%}{{ site.data.authors.default.name }} | {{ site.data.authors.default.email }}{% endif %} | {{ page.date | date: "%d-%m-%y" }}</p> </div> </section> <section class="post__content">