mirror of https://github.com/jpanther/congo.git
parent
a041f09f6f
commit
a29efce7c0
|
@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Updated date is displayed even when it is the same as published date
|
- Updated date is displayed even when it is the same as published date
|
||||||
|
- Structured data on homepage unparsable by Google ([#113](https://github.com/jpanther/congo/issues/113))
|
||||||
|
|
||||||
## [2.0.4] - 2022-02-09
|
## [2.0.4] - 2022-02-09
|
||||||
|
|
||||||
|
|
|
@ -8,11 +8,11 @@
|
||||||
{{ with .Site.Params.description }}"description": "{{ . | safeJS }}",{{ end }}
|
{{ with .Site.Params.description }}"description": "{{ . | safeJS }}",{{ end }}
|
||||||
{{ with .Site.LanguageCode }}"inLanguage": "{{ . }}",{{ end }}
|
{{ with .Site.LanguageCode }}"inLanguage": "{{ . }}",{{ end }}
|
||||||
"url": "{{ (site.GetPage "/").Permalink | safeURL }}",
|
"url": "{{ (site.GetPage "/").Permalink | safeURL }}",
|
||||||
|
{{ with .Site.Params.keywords }}"keywords": {{ . }},{{ end }}
|
||||||
"publisher" : {
|
"publisher" : {
|
||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "{{ .Site.Author.name | safeJS }}",
|
"name": "{{ .Site.Author.name | safeJS }}"
|
||||||
},
|
}
|
||||||
{{ with .Site.Params.keywords }}"keywords": {{ . }},{{ end }}
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
{{ else if .IsPage }}
|
{{ else if .IsPage }}
|
||||||
|
|
Loading…
Reference in New Issue