diff --git a/src/layouts/article-single.njk b/src/layouts/article-single.njk index 077916d158f251dac2cfdea48e2ecd508808789a..0730a1da7792bded704a73e5fa901d7000338385 100644 --- a/src/layouts/article-single.njk +++ b/src/layouts/article-single.njk @@ -9,16 +9,12 @@ <header> <h1>{{title}}</h1> - {% if subtitle %} - <h2>{{subtitle}}</h2> - {% endif %} + {% if subtitle %} <h2>{{subtitle}}</h2> {% endif %} + {% if author %} <h2>{{author}}</h2> {% endif %} + <p class="meta"> <time>{{date | postDate}}</time> </p> </header> <article class="post-content"> - <p class="meta"> - <time>{{date | postDate}}</time> - <span>#{{tags}}</span> - </p> {% if image %} <figure> <img src="{{image}}" alt="{{title}}">