From 7e1fb30f317eee93bb75871db4029fc1bb40e84e Mon Sep 17 00:00:00 2001 From: Robin IT Date: Tue, 17 Sep 2019 19:31:36 +0200 Subject: [PATCH] Adds an author to blog posts. See #113 --- layouts/_default/single.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index fde3f74..af8ed26 100755 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -18,6 +18,9 @@

{{- .Title -}}

+

+ {{ with .Params.author }}By {{ . | markdownify }}{{ end}} +

{{/* Hugo uses Go's date formatting is set by example. Here are two formats */}}