hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 4e77c8717b18b8b54f4e56cb305da6cf3bc26be7
parent d3fb196067a6446da65c8c9dd717df88db65e979
Author: Alan Orth <alan.orth@gmail.com>
Date:   Tue, 21 Feb 2017 08:50:35 +0200

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

Diffstat:
Mtpl/tplimpl/template_embedded.go | 1-
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/tpl/tplimpl/template_embedded.go b/tpl/tplimpl/template_embedded.go
@@ -216,7 +216,6 @@ func (t *GoHTMLTemplate) EmbedTemplates() {
 <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 }}`)