From f67488c5d15017e77b5871d09677806018a914bd Mon Sep 17 00:00:00 2001 From: Josh Johnson Date: Sat, 20 Feb 2016 00:37:34 -0500 Subject: [PATCH] fixed title to use handle --- layouts/partials/site_header.html | 2 +- layouts/rss.xml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/layouts/partials/site_header.html b/layouts/partials/site_header.html index c77a41d..3179b9d 100644 --- a/layouts/partials/site_header.html +++ b/layouts/partials/site_header.html @@ -9,7 +9,7 @@ {{ .Hugo.Generator }} {{ $.Scratch.Add "title" .Site.Title }} - {{ with .Title }}{{ if ne . ($.Scratch.Get "title") }}{{ . }} · {{ end }}{{ end }}{{ .Site.Title }} + {{ with .Title }}{{ if ne . ($.Scratch.Get "title") }}{{ . }} · {{ end }}{{ end }}@{{ .Site.Author.Handle }}’s {{ .Site.Title }} diff --git a/layouts/rss.xml b/layouts/rss.xml index 4696dc6..243ab90 100644 --- a/layouts/rss.xml +++ b/layouts/rss.xml @@ -1,6 +1,7 @@ - {{ .Site.Title }}{{ with .Title }} - {{ .}}{{ end }} + + @{{ .Site.Author.Handle }}’s {{ .Site.Title }}{{ with .Title }} - {{ . }}{{ end }} {{ .Permalink }} All entries {{ with .Title }}in {{.}} {{ end }}on {{ .Site.Title }} Hugo -- gohugo.io