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>
|
||||
<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 }}
|
||||
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
|
||||
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
|
||||
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
|
||||
<language>{{.}}</language>{{end}}{{ with .Site.Params.author }}
|
||||
<managingEditor>{{ .email }} ({{ .name }})</managingEditor>{{end}}{{ with .Site.Params.author }}
|
||||
<webMaster>{{.email}} ({{.name}})</webMaster>{{end}}{{ with .Site.Copyright }}
|
||||
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
|
||||
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
|
||||
{{ with .OutputFormats.Get "RSS" }}
|
||||
|
@ -17,7 +17,7 @@
|
|||
<title>{{ .Title }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
<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>
|
||||
<description>{{ .Content | html }}</description>
|
||||
</item>
|
||||
|
|
|
@ -34,5 +34,5 @@
|
|||
<meta property="og:image" content="{{ .Site.BaseURL }}images/avatar.png"/>
|
||||
<meta property="og:image:alt" content="{{ i18n "alt_avatar" . }}"/>
|
||||
{{ 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 }}" />
|
||||
|
|
|
@ -625,9 +625,8 @@ a.not(.anchor):focus {
|
|||
margin-right: 1rem;
|
||||
}
|
||||
.article-body figure figcaption .attribution {
|
||||
float: right;
|
||||
margin-left: 1em;
|
||||
margin-top: 1em;
|
||||
display: block;
|
||||
text-align: right;
|
||||
}
|
||||
@media only screen and (max-width: 320px) {
|
||||
.article-body .footnotes ol {
|
||||
|
|
Loading…
Reference in a new issue