diff options
author | Joe Mooring <[email protected]> | 2021-03-18 11:49:16 -0700 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2021-04-29 17:07:05 +0200 |
commit | f6745ad3588a7b3aaae228fec18fe0027affd566 (patch) | |
tree | 61e6595c1d75863c3039d172ae1fc2ccbf4fad93 /tpl/tplimpl/embedded/templates/opengraph.html | |
parent | f523e9f0fd0e0b0ce75879532caa834742297d16 (diff) | |
download | hugo-f6745ad3588a7b3aaae228fec18fe0027affd566.tar.gz hugo-f6745ad3588a7b3aaae228fec18fe0027affd566.zip |
Remove .Site.Authors from embedded templates
Closes #4458
Diffstat (limited to 'tpl/tplimpl/embedded/templates/opengraph.html')
-rw-r--r-- | tpl/tplimpl/embedded/templates/opengraph.html | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tpl/tplimpl/embedded/templates/opengraph.html b/tpl/tplimpl/embedded/templates/opengraph.html index 5d4e78d7d..b0395ae2f 100644 --- a/tpl/tplimpl/embedded/templates/opengraph.html +++ b/tpl/tplimpl/embedded/templates/opengraph.html @@ -21,14 +21,6 @@ <meta property="article:section" content="{{ .Section }}" /> {{ with .PublishDate }}<meta property="article:published_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 -}} {{- with .Params.audio }}<meta property="og:audio" content="{{ . }}" />{{ end }} |