diff --git a/config/_default/params.toml b/config/_default/params.toml index 4060a19..7541a2f 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -5,7 +5,6 @@ mainSections = ["posts"] fallBackOgImage = "images/broken-computer.png" numberOfFeaturedPosts = 5 numberOfRelatedPosts = 5 -author = "jbowdre" indexTitle = ".-. ..- -. - .. -- . - . .-. .-. --- .-." @@ -20,6 +19,11 @@ analytics = true [theme] palette = "runtimeterror" +[author] + name = "John Bowdre" + email = "jbowdre@omg.lol" + username = "jbowdre" + # Sidebar: about/bio [about] title = "runtimeterror" diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 02cb455..209dce4 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -17,10 +17,7 @@ {{ .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}}{{ if not .Date.IsZero }} + {{.}}{{end}}{{ if not .Date.IsZero }} {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} {{- with .OutputFormats.Get "RSS" -}} {{ printf "" .Permalink .MediaType | safeHTML }} @@ -30,24 +27,10 @@ {{ .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.name }}{{.}}{{end}} {{ .Permalink }} - {{ if ne site.Params.rss_summary false }} - {{ if .Params.summary }} - {{ .Params.summary | html }} - {{ else if .Params.abstract }} - {{ .Params.abstract | html }} - {{ else if .Summary }} - {{ .Summary | html }} - {{ end }} - {{ if site.Params.rss_summary_read_more_link }} - {{ $trans := i18n "read_more" -}} - {{ printf "

%s

" .RelPermalink $trans | html }} - {{ end }} - {{ else }} - {{ .Content | html }} - {{ end }} + {{ .Content | html }}
{{ end }} diff --git a/layouts/partials/about.html b/layouts/partials/about.html index 4260bb1..29869da 100644 --- a/layouts/partials/about.html +++ b/layouts/partials/about.html @@ -4,7 +4,7 @@

{{ .title }}  

{{ partial "tagline.html" . }}
- {{ site.Params.Author }} + {{ site.Params.Author.username }} {{ end }}