structured data update na https://search.google.com/structured-data/testing-tool
This commit is contained in:
parent
aa3bba9546
commit
16c2c56aec
|
@ -6,6 +6,8 @@ disqusShortname = ""
|
|||
googleAnalytics = "UA-122825031-1"
|
||||
publishDir = "docs"
|
||||
enableEmoji = true
|
||||
# for .Lastmod to work with .GitInfo: --enableGitInfo https://gohugo.io/variables/git/
|
||||
enableGitInfo = true
|
||||
|
||||
[Author]
|
||||
name = "Wouter Groeneveld"
|
||||
|
|
|
@ -74,13 +74,15 @@
|
|||
"copyrightHolder" : "{{ .Site.Author.name }}",
|
||||
"copyrightYear" : "{{ .Date.Format "2006" }}",
|
||||
"datePublished": "{{ .Date }}",
|
||||
"dateModified" : "{{ .Date }}",
|
||||
"dateModified" : "{{ .Lastmod }}",
|
||||
"url" : "{{ .Permalink }}",
|
||||
"wordCount" : "{{ .WordCount }}",
|
||||
{{ if .Keywords }}
|
||||
"keywords" : [ {{ range .Keywords }}"{{ . }}",{{ end }}"{{ .Title }}" ]
|
||||
{{ else if .Params.tags }}
|
||||
"keywords" : [ {{ if isset .Params "tags" }}{{ range .Params.tags }}"{{ . }}",{{ end }}{{ end }}"{{ .Title }}" ]
|
||||
{{ else }}
|
||||
"keywords": [ "{{ .Title }}" ]
|
||||
{{ end }}
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue