mirror of
https://github.com/zaaarf/friendenstein.git
synced 2024-11-22 07:24:51 +01:00
added optional author blogpost display
This commit is contained in:
parent
7cf2f0a817
commit
f8d26c5907
2 changed files with 3 additions and 0 deletions
|
@ -45,6 +45,7 @@ internal_level = "warn"
|
|||
|
||||
[extra]
|
||||
author = "Speyll"
|
||||
display_author = true
|
||||
favicon = "favicon.ico"
|
||||
image = ""
|
||||
list_pages = false
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue