mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
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
This commit is contained in:
parent
d3fb196067
commit
4e77c8717b
1 changed files with 0 additions and 1 deletions
|
@ -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 }}`)
|
||||
|
|
Loading…
Reference in a new issue