diff options
author | Josh Johnson <jnjosh@jnjosh.com> | 2016-02-20 08:37:34 +0300 |
---|---|---|
committer | Josh Johnson <jnjosh@jnjosh.com> | 2016-02-20 08:37:34 +0300 |
commit | f67488c5d15017e77b5871d09677806018a914bd (patch) | |
tree | ed340ee19206a6933eb07d3cdf06273bb53a023d | |
parent | f92932b947ceddd2e198b3cbcf9bcda2f930c739 (diff) |
fixed title to use handle
-rw-r--r-- | layouts/partials/site_header.html | 2 | ||||
-rw-r--r-- | 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 }} - <title>{{ with .Title }}{{ if ne . ($.Scratch.Get "title") }}{{ . }} · {{ end }}{{ end }}{{ .Site.Title }}</title> + <title>{{ with .Title }}{{ if ne . ($.Scratch.Get "title") }}{{ . }} · {{ end }}{{ end }}@{{ .Site.Author.Handle }}’s {{ .Site.Title }}</title> <link rel="stylesheet" href="{{ .Site.BaseURL }}css/weblog.css" media="screen" charset="utf-8" /> <link rel="stylesheet" href="{{ .Site.BaseURL }}css/lightgallery.min.css" type="text/css" /> 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 @@ <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <channel> - <title>{{ .Site.Title }}{{ with .Title }} - {{ .}}{{ end }}</title> + + <title>@{{ .Site.Author.Handle }}’s {{ .Site.Title }}{{ with .Title }} - {{ . }}{{ end }}</title> <link>{{ .Permalink }}</link> <description>All entries {{ with .Title }}in {{.}} {{ end }}on {{ .Site.Title }}</description> <generator>Hugo -- gohugo.io</generator> |