From eba634bbc2e898ce5223cca5b7650836cd0fb13d Mon Sep 17 00:00:00 2001 From: Shauna Date: Fri, 30 May 2014 00:30:21 -0400 Subject: [PATCH] Display author in article view --- themes/pelican-elegant/templates/article.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/themes/pelican-elegant/templates/article.html b/themes/pelican-elegant/templates/article.html index 2247cf8..d6455bf 100644 --- a/themes/pelican-elegant/templates/article.html +++ b/themes/pelican-elegant/templates/article.html @@ -79,6 +79,10 @@

Contents

+ {% if article.author %} +

Submitted By

+ {{ article.author }} + {% endif %} {% if article.date %}

Published

{% set day = article.date.strftime('%d')|int %}