From 7cb108bd540da569ef2f73ac273db1662626f57c Mon Sep 17 00:00:00 2001 From: Robin van Boven <497556+Beanow@users.noreply.github.com> Date: Mon, 30 Sep 2019 15:34:06 +0200 Subject: [PATCH] Adds an author to blog posts. (#209) * Adds an author to blog posts. See #113 * Feedback #209, fully contain author in {{with}} Co-authored-by: Bud Parr --- layouts/_default/single.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index fde3f7447..79e67844a 100755 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -18,6 +18,11 @@

{{- .Title -}}

+ {{ with .Params.author }} +

+ By {{ . | markdownify }} +

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