From: Alekos Filini Date: Thu, 19 Nov 2020 17:28:17 +0000 (+0100) Subject: Show the author in the blog homepage X-Git-Url: http://internal-gitweb-vhost/%22https:/parse/scripts/struct.CommandStringError.html?a=commitdiff_plain;h=df8a2e637ffd3c7ed9d7927b92dd37419b7a0efe;p=bitcoindevkit.org Show the author in the blog homepage --- diff --git a/layouts/blog/list.html b/layouts/blog/list.html index 669a5a2b33..98fb326413 100644 --- a/layouts/blog/list.html +++ b/layouts/blog/list.html @@ -11,9 +11,12 @@

{{ .Date.Format "Jan 2" }}

{{ if isset .Params "tags" }} + {{ if isset .Params "author" }} + By {{ .Params.author }} · + {{ end }} + {{ $list := .Params.tags }} {{ $len := (len $list) }} - Tags: {{ range $index, $elem := $list }} {{ $elem }} {{ if ne (add $index 1) $len }} · {{ end }} {{ end }}