added optional author blogpost display

This commit is contained in:
Speyll
2023-10-03 16:56:08 +01:00
parent 7cf2f0a817
commit f8d26c5907
2 changed files with 3 additions and 0 deletions

View File

@@ -3,7 +3,9 @@
{% block content %}
<div><a href="..">..</a>/<span class="metaData">{{ page.slug }}</span></div>
<time datetime="{{ page.date }}">Published on: <span class="metaData">{{ page.date }}</span></time>
{% if config.extra.author and config.extra.display_author == true %}
<address rel="author">By <span class="metaData">{{config.extra.author}}</span></address>
{% endif %}
<h1>{{ page.title }}</h1>
{% if page.toc and page.extra.toc %}