github.com/fighterlyt/hugo@v0.47.1/tpl/tplimpl/embedded/templates/schema.html (about) 1 {{ with .Site.Social.GooglePlus }}<link rel="publisher" href="{{ . }}"/>{{ end }} 2 <meta itemprop="name" content="{{ .Title }}"> 3 <meta itemprop="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}"> 4 5 {{if .IsPage}}{{ $ISO8601 := "2006-01-02T15:04:05-07:00" }}{{ if not .PublishDate.IsZero }} 6 <meta itemprop="datePublished" content="{{ .PublishDate.Format $ISO8601 | safeHTML }}" />{{ end }} 7 {{ if not .Date.IsZero }}<meta itemprop="dateModified" content="{{ .Date.Format $ISO8601 | safeHTML }}" />{{ end }} 8 <meta itemprop="wordCount" content="{{ .WordCount }}"> 9 {{ with .Params.images }}{{ range first 6 . }} 10 <meta itemprop="image" content="{{ . | absURL }}"> 11 {{ end }}{{ end }} 12 13 <!-- Output all taxonomies as schema.org keywords --> 14 <meta itemprop="keywords" content="{{ if .IsPage}}{{ range $index, $tag := .Params.tags }}{{ $tag }},{{ end }}{{ else }}{{ range $plural, $terms := .Site.Taxonomies }}{{ range $term, $val := $terms }}{{ printf "%s," $term }}{{ end }}{{ end }}{{ end }}" /> 15 {{ end }}