Matthieu Bessat
96265bfbf3
All checks were successful
Deploy workflow / deploy (push) Successful in 13s
23 lines
850 B
HTML
23 lines
850 B
HTML
{{ if .IsPage }}
|
|
{{ if eq .Section "actualites" }}
|
|
<script type="application/ld+json">
|
|
{
|
|
"@context" : "http://schema.org",
|
|
"@type" : "BlogPosting",
|
|
"articleSection" : "{{ .Section | title }}",
|
|
"name" : "{{ .Title }}",
|
|
"headline" : "{{ .Title }}",
|
|
"description" : "{{ if .Description }}{{ .Description }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ end }}{{ end }}",
|
|
"inLanguage" : "fr-FR",
|
|
"author" : "{{ .Params.author }}",
|
|
"creator" : "VMEMS",
|
|
"accountablePerson" : "VMEMS",
|
|
"datePublished": "{{ .PublishDate.Format $.Site.Params.ISO8601 }}",
|
|
"dateModified" : "{{ .Lastmod.Format $.Site.Params.ISO8601 }}",
|
|
"url" : "{{ .Permalink }}",
|
|
"wordCount" : "{{ .WordCount }}",
|
|
"keywords" : [ {{ range $i, $e := .Params.tags }}{{ if $i }}, {{ end }}{{ $e }}{{ end }} ]
|
|
}
|
|
</script>
|
|
{{ end }}
|
|
{{ end }}
|