diff options
-rw-r--r-- | tpl/tplimpl/embedded/templates.autogen.go | 14 | ||||
-rw-r--r-- | tpl/tplimpl/embedded/templates/opengraph.html | 8 | ||||
-rw-r--r-- | tpl/tplimpl/embedded/templates/twitter_cards.html | 5 |
3 files changed, 1 insertions, 26 deletions
diff --git a/tpl/tplimpl/embedded/templates.autogen.go b/tpl/tplimpl/embedded/templates.autogen.go index 2da6e619e..e4cd69921 100644 --- a/tpl/tplimpl/embedded/templates.autogen.go +++ b/tpl/tplimpl/embedded/templates.autogen.go @@ -226,14 +226,6 @@ if (!doNotTrack) { <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 }} @@ -573,9 +565,5 @@ if (!doNotTrack) { {{ with .Site.Social.twitter -}} <meta name="twitter:site" content="@{{ . }}"/> {{ end -}} -{{ range .Site.Authors }} -{{ with .twitter -}} -<meta name="twitter:creator" content="@{{ . }}"/> -{{ end -}} -{{ end -}}`}, +`}, } 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 }} diff --git a/tpl/tplimpl/embedded/templates/twitter_cards.html b/tpl/tplimpl/embedded/templates/twitter_cards.html index cbe2430bc..83a3b79c4 100644 --- a/tpl/tplimpl/embedded/templates/twitter_cards.html +++ b/tpl/tplimpl/embedded/templates/twitter_cards.html @@ -22,8 +22,3 @@ {{ with .Site.Social.twitter -}} <meta name="twitter:site" content="@{{ . }}"/> {{ end -}} -{{ range .Site.Authors }} -{{ with .twitter -}} -<meta name="twitter:creator" content="@{{ . }}"/> -{{ end -}} -{{ end -}}
\ No newline at end of file |