mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
parent
f523e9f0fd
commit
f6745ad358
3 changed files with 1 additions and 26 deletions
14
tpl/tplimpl/embedded/templates.autogen.go
generated
14
tpl/tplimpl/embedded/templates.autogen.go
generated
|
@ -226,14 +226,6 @@ if (!doNotTrack) {
|
||||||
<meta property="article:section" content="{{ .Section }}" />
|
<meta property="article:section" content="{{ .Section }}" />
|
||||||
{{ with .PublishDate }}<meta property="article:published_time" content="{{ .Format $iso8601 }}" />{{ end }}
|
{{ with .PublishDate }}<meta property="article:published_time" content="{{ .Format $iso8601 }}" />{{ end }}
|
||||||
{{ with .Lastmod }}<meta property="article:modified_time" content="{{ .Format $iso8601 }}" />{{ end }}
|
{{ with .Lastmod }}<meta property="article:modified_time" content="{{ .Format $iso8601 }}" />{{ end }}
|
||||||
|
|
||||||
{{- range .Site.Authors }}
|
|
||||||
{{ with .Social.facebook }}<meta property="article:author" content="https://www.facebook.com/{{ . }}" />{{ end }}
|
|
||||||
{{ with .Site.Social.facebook }}<meta property="article:publisher" content="https://www.facebook.com/{{ . }}" />{{ end }}
|
|
||||||
{{- with .Params.tags }}{{ range first 6 . }}
|
|
||||||
<meta property="article:tag" content="{{ . }}" />
|
|
||||||
{{- end }}{{ end -}}
|
|
||||||
{{- end -}}
|
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- with .Params.audio }}<meta property="og:audio" content="{{ . }}" />{{ end }}
|
{{- with .Params.audio }}<meta property="og:audio" content="{{ . }}" />{{ end }}
|
||||||
|
@ -573,9 +565,5 @@ if (!doNotTrack) {
|
||||||
{{ with .Site.Social.twitter -}}
|
{{ with .Site.Social.twitter -}}
|
||||||
<meta name="twitter:site" content="@{{ . }}"/>
|
<meta name="twitter:site" content="@{{ . }}"/>
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ range .Site.Authors }}
|
`},
|
||||||
{{ with .twitter -}}
|
|
||||||
<meta name="twitter:creator" content="@{{ . }}"/>
|
|
||||||
{{ end -}}
|
|
||||||
{{ end -}}`},
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,14 +21,6 @@
|
||||||
<meta property="article:section" content="{{ .Section }}" />
|
<meta property="article:section" content="{{ .Section }}" />
|
||||||
{{ with .PublishDate }}<meta property="article:published_time" content="{{ .Format $iso8601 }}" />{{ end }}
|
{{ with .PublishDate }}<meta property="article:published_time" content="{{ .Format $iso8601 }}" />{{ end }}
|
||||||
{{ with .Lastmod }}<meta property="article:modified_time" content="{{ .Format $iso8601 }}" />{{ end }}
|
{{ with .Lastmod }}<meta property="article:modified_time" content="{{ .Format $iso8601 }}" />{{ end }}
|
||||||
|
|
||||||
{{- range .Site.Authors }}
|
|
||||||
{{ with .Social.facebook }}<meta property="article:author" content="https://www.facebook.com/{{ . }}" />{{ end }}
|
|
||||||
{{ with .Site.Social.facebook }}<meta property="article:publisher" content="https://www.facebook.com/{{ . }}" />{{ end }}
|
|
||||||
{{- with .Params.tags }}{{ range first 6 . }}
|
|
||||||
<meta property="article:tag" content="{{ . }}" />
|
|
||||||
{{- end }}{{ end -}}
|
|
||||||
{{- end -}}
|
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- with .Params.audio }}<meta property="og:audio" content="{{ . }}" />{{ end }}
|
{{- with .Params.audio }}<meta property="og:audio" content="{{ . }}" />{{ end }}
|
||||||
|
|
|
@ -22,8 +22,3 @@
|
||||||
{{ with .Site.Social.twitter -}}
|
{{ with .Site.Social.twitter -}}
|
||||||
<meta name="twitter:site" content="@{{ . }}"/>
|
<meta name="twitter:site" content="@{{ . }}"/>
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ range .Site.Authors }}
|
|
||||||
{{ with .twitter -}}
|
|
||||||
<meta name="twitter:creator" content="@{{ . }}"/>
|
|
||||||
{{ end -}}
|
|
||||||
{{ end -}}
|
|
Loading…
Reference in a new issue