ref: 4e77c8717b18b8b54f4e56cb305da6cf3bc26be7
parent: d3fb196067a6446da65c8c9dd717df88db65e979
author: Alan Orth <[email protected]>
date: Tue Feb 21 03:50:35 EST 2017
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
--- a/tpl/tplimpl/template_embedded.go
+++ b/tpl/tplimpl/template_embedded.go
@@ -216,7 +216,6 @@
<meta name="twitter:title" content="{{ .Title }}"/>
<meta name="twitter:description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}"/>
{{ with .Site.Social.twitter }}<meta name="twitter:site" content="@{{ . }}"/>{{ end }}
-{{ with .Site.Social.twitter_domain }}<meta name="twitter:domain" content="{{ . }}"/>{{ end }}
{{ range .Site.Authors }}
{{ with .twitter }}<meta name="twitter:creator" content="@{{ . }}"/>{{ end }}
{{ end }}{{ end }}`)