diff --git a/website/themes/ots/templates/article.html b/website/themes/ots/templates/article.html index aa469d90a350129220d7d64f7ca601897efe269f..c0dd6bb273c555f74ba562d10ff3ca18dab0b40d 100644 --- a/website/themes/ots/templates/article.html +++ b/website/themes/ots/templates/article.html @@ -9,7 +9,9 @@ <h1>{{ article.title }}</h1> <div class="post-info"> <div class="w3-opacity w3-margin-right w3-margin-bottom" style="flex-grow: 1;"> + {% if not HIDE_AUTHOR %} <p>By {{ article.author }}</p> + {% endif %} <span><time datetime="{{ article.date.isoformat() }}">{{ article.date.strftime("%d %B %Y")}}</time> {% if article.category != "Posts" %} in <a href="{{ SITEURL }}/{{ article.category.url }}" title="All articles in category {{ article.category }}">{{ article.category }}</a></span>