diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html index 2b406bc..e0d01d8 100644 --- a/layouts/partials/metadata.html +++ b/layouts/partials/metadata.html @@ -1,20 +1,36 @@ -
+
{{$author := index .Site.Data.details.staff (.Params.author | default "default")}} - -
-

{{$author.name}}

- {{if .Date }} -
-

Published: {{.Date | time.Format "Jan 02 2006"}} +

+
+ + + +

{{$author.name}}

+
+
+ Support + {{ if $author.donate}} + Donate + {{end}} + {{ if $author.bitcoin}} + Bitcoin + {{end}} + {{ if $author.monero}} + Monero + {{end}} +
+

+ {{if .Date }}Published: {{.Date | time.Format "Jan 02 2006"}} + {{end}} + {{if .Params.updated}} +
Updated: {{.Params.updated | time.Format "Jan 02 2006"}} + {{end}} + {{if .GetTerms "tags"}}
+ Tags: + {{ range (.GetTerms "tags")}} + {{.LinkTitle}} {{end}} - {{if .Params.updated}} -
Updated: {{.Params.updated | time.Format "Jan 02 2006"}} - {{end}}

- {{if .GetTerms "tags"}} - Tags: - {{ range (.GetTerms "tags")}} - {{.LinkTitle}} - {{end}} - {{end}} -

+ {{end}} +

+
diff --git a/static/css/theme.css b/static/css/theme.css index 9b2eec6..37c6a40 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -230,6 +230,9 @@ audio { .metadata>* { margin: 5px; } +.metadata h2{ + margin: 5px; +} .metadata>div>* { margin: 5px;