fixed title to use handle
This commit is contained in:
parent
f92932b947
commit
f67488c5d1
2 changed files with 3 additions and 2 deletions
|
@ -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" />
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue