From: Alan Orth Date: Tue, 21 Feb 2017 06:50:35 +0000 (+0200) Subject: tpl: Remove twitter:domain tag from internal shortcode X-Git-Tag: v0.19~31 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=4e77c871;p=brevno-suite%2Fhugo tpl: Remove twitter:domain tag from internal shortcode It seems this metadata tag is no longer used by Twitter, as it has been removed from their Cards Markup Tag Reference since at least 2013 according to a post on the W3 mailing list. See: https://dev.twitter.com/cards/markup See: https://lists.w3.org/Archives/Public/www-validator/2013Oct/0025.html --- diff --git a/tpl/tplimpl/template_embedded.go b/tpl/tplimpl/template_embedded.go index f0b32bdd..44bd7618 100644 --- a/tpl/tplimpl/template_embedded.go +++ b/tpl/tplimpl/template_embedded.go @@ -216,7 +216,6 @@ func (t *GoHTMLTemplate) EmbedTemplates() { {{ with .Site.Social.twitter }}{{ end }} -{{ with .Site.Social.twitter_domain }}{{ end }} {{ range .Site.Authors }} {{ with .twitter }}{{ end }} {{ end }}{{ end }}`)