Fix the deprecated commands
This commit is contained in:
parent
b746bdeb97
commit
b17616173a
3 changed files with 7 additions and 8 deletions
|
@ -4,9 +4,9 @@
|
||||||
<link>{{ .Permalink }}</link>
|
<link>{{ .Permalink }}</link>
|
||||||
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
|
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
|
||||||
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
|
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
|
||||||
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
|
<language>{{.}}</language>{{end}}{{ with .Site.Params.author }}
|
||||||
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
|
<managingEditor>{{ .email }} ({{ .name }})</managingEditor>{{end}}{{ with .Site.Params.author }}
|
||||||
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
|
<webMaster>{{.email}} ({{.name}})</webMaster>{{end}}{{ with .Site.Copyright }}
|
||||||
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
|
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
|
||||||
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
|
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
|
||||||
{{ with .OutputFormats.Get "RSS" }}
|
{{ with .OutputFormats.Get "RSS" }}
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
<title>{{ .Title }}</title>
|
<title>{{ .Title }}</title>
|
||||||
<link>{{ .Permalink }}</link>
|
<link>{{ .Permalink }}</link>
|
||||||
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
||||||
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
|
{{ with .Site.Params.author }}<author>{{.email}} ({{.name}})</author>{{end}}
|
||||||
<guid>{{ .Permalink }}</guid>
|
<guid>{{ .Permalink }}</guid>
|
||||||
<description>{{ .Content | html }}</description>
|
<description>{{ .Content | html }}</description>
|
||||||
</item>
|
</item>
|
||||||
|
|
|
@ -34,5 +34,5 @@
|
||||||
<meta property="og:image" content="{{ .Site.BaseURL }}images/avatar.png"/>
|
<meta property="og:image" content="{{ .Site.BaseURL }}images/avatar.png"/>
|
||||||
<meta property="og:image:alt" content="{{ i18n "alt_avatar" . }}"/>
|
<meta property="og:image:alt" content="{{ i18n "alt_avatar" . }}"/>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<meta property="og:updated_time" content="{{ .Site.LastChange }}" />
|
<meta property="og:updated_time" content="{{ .Site.Lastmod }}" />
|
||||||
<meta property="og:site_name" content="{{ .Site.Title }}" />
|
<meta property="og:site_name" content="{{ .Site.Title }}" />
|
||||||
|
|
|
@ -625,9 +625,8 @@ a.not(.anchor):focus {
|
||||||
margin-right: 1rem;
|
margin-right: 1rem;
|
||||||
}
|
}
|
||||||
.article-body figure figcaption .attribution {
|
.article-body figure figcaption .attribution {
|
||||||
float: right;
|
display: block;
|
||||||
margin-left: 1em;
|
text-align: right;
|
||||||
margin-top: 1em;
|
|
||||||
}
|
}
|
||||||
@media only screen and (max-width: 320px) {
|
@media only screen and (max-width: 320px) {
|
||||||
.article-body .footnotes ol {
|
.article-body .footnotes ol {
|
||||||
|
|
Loading…
Reference in a new issue