diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 4996cb0..a9fc6f8 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -4,9 +4,9 @@ {{ .Permalink }} Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }} Hugo -- gohugo.io{{ with .Site.LanguageCode }} - {{.}}{{end}}{{ with .Site.Author.email }} - {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Author.email }} - {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Copyright }} + {{.}}{{end}}{{ with .Site.Params.author }} + {{ .email }} ({{ .name }}){{end}}{{ with .Site.Params.author }} + {{.email}} ({{.name}}){{end}}{{ with .Site.Copyright }} {{.}}{{end}}{{ if not .Date.IsZero }} {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} {{ with .OutputFormats.Get "RSS" }} @@ -17,7 +17,7 @@ {{ .Title }} {{ .Permalink }} {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} - {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} + {{ with .Site.Params.author }}{{.email}} ({{.name}}){{end}} {{ .Permalink }} {{ .Content | html }} diff --git a/layouts/partials/opengraph.html b/layouts/partials/opengraph.html index 247882a..fe39d7f 100644 --- a/layouts/partials/opengraph.html +++ b/layouts/partials/opengraph.html @@ -34,5 +34,5 @@ {{ end }} - + diff --git a/static/css/style.css b/static/css/style.css index 4f1ea68..1f1a897 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -625,9 +625,8 @@ a.not(.anchor):focus { margin-right: 1rem; } .article-body figure figcaption .attribution { - float: right; - margin-left: 1em; - margin-top: 1em; + display: block; + text-align: right; } @media only screen and (max-width: 320px) { .article-body .footnotes ol {