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
|
||||
|
||||
- `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
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
"articleSection": "{{ (site.GetPage .Section).Title }}",
|
||||
"name": "{{ .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 }}
|
||||
"author" : {
|
||||
"@type": "Person",
|
||||
|
@ -33,8 +33,8 @@
|
|||
{{ with .PublishDate }}"datePublished": "{{ .Format $iso8601 }}",{{ end }}
|
||||
{{ with .Lastmod }}"dateModified": "{{ .Format $iso8601 }}",{{ end }}
|
||||
"url" : "{{ .Permalink }}",
|
||||
"wordCount": "{{ .WordCount }}",
|
||||
"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 }}]
|
||||
{{ with .Params.tags }}"keywords": {{ . }},{{ end }}
|
||||
"wordCount": "{{ .WordCount }}"
|
||||
}
|
||||
</script>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue