Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jnjosh/internet-weblog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Johnson <jnjosh@jnjosh.com>2016-02-20 08:37:34 +0300
committerJosh Johnson <jnjosh@jnjosh.com>2016-02-20 08:37:34 +0300
commitf67488c5d15017e77b5871d09677806018a914bd (patch)
treeed340ee19206a6933eb07d3cdf06273bb53a023d
parentf92932b947ceddd2e198b3cbcf9bcda2f930c739 (diff)
fixed title to use handle
-rw-r--r--layouts/partials/site_header.html2
-rw-r--r--layouts/rss.xml3
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") }}{{ . }} &middot; {{ end }}{{ end }}{{ .Site.Title }}</title>
+ <title>{{ with .Title }}{{ if ne . ($.Scratch.Get "title") }}{{ . }} &middot; {{ 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>