mirror of https://github.com/jpanther/congo.git
parent
7606c925ae
commit
55677da695
|
@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- `lead` shortcode not rendering Markdown formatted text ([#73](https://github.com/jpanther/congo/issues/73))
|
- `lead` shortcode not rendering Markdown formatted text ([#73](https://github.com/jpanther/congo/issues/73))
|
||||||
|
- JSON-LD keywords data not structured correctly ([#74](https://github.com/jpanther/congo/issues/74))
|
||||||
|
|
||||||
## [1.6.1] - 2021-12-31
|
## [1.6.1] - 2021-12-31
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
"articleSection": "{{ (site.GetPage .Section).Title }}",
|
"articleSection": "{{ (site.GetPage .Section).Title }}",
|
||||||
"name": "{{ .Title | safeJS }}",
|
"name": "{{ .Title | safeJS }}",
|
||||||
"headline": "{{ .Title | safeJS }}",
|
"headline": "{{ .Title | safeJS }}",
|
||||||
"description": "{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}",
|
"description": "{{ with .Description }}{{ . }}{{ else }}{{ if .IsPage }}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}",
|
||||||
{{ with .Site.LanguageCode }}"inLanguage": {{ . }},{{ end }}
|
{{ with .Site.LanguageCode }}"inLanguage": {{ . }},{{ end }}
|
||||||
"author" : {
|
"author" : {
|
||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
|
@ -33,8 +33,8 @@
|
||||||
{{ with .PublishDate }}"datePublished": "{{ .Format $iso8601 }}",{{ end }}
|
{{ with .PublishDate }}"datePublished": "{{ .Format $iso8601 }}",{{ end }}
|
||||||
{{ with .Lastmod }}"dateModified": "{{ .Format $iso8601 }}",{{ end }}
|
{{ with .Lastmod }}"dateModified": "{{ .Format $iso8601 }}",{{ end }}
|
||||||
"url" : "{{ .Permalink }}",
|
"url" : "{{ .Permalink }}",
|
||||||
"wordCount": "{{ .WordCount }}",
|
{{ with .Params.tags }}"keywords": {{ . }},{{ end }}
|
||||||
"keywords": [{{ 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 }}]
|
"wordCount": "{{ .WordCount }}"
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue