feat(SEO): add Json-LD meta and tags
All checks were successful
Deploy workflow / deploy (push) Successful in 13s

This commit is contained in:
Matthieu Bessat 2024-09-03 23:59:29 +02:00
parent 4ababc96dc
commit 96265bfbf3
7 changed files with 105 additions and 65 deletions

View file

@ -11,6 +11,14 @@
<span>Mis à jour le <b><time>{{ . | time.Format ":date_full" }}</time></b></span>
{{ end }}
</p>
<p class="article__tags">
{{- range $index, $element := .Params.tags -}}
{{- with $element -}}
<span>{{- if $index -}}, {{- end -}}</span>
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
{{- end -}}
{{ end }}
</p>
{{ if .Params.featured_image }}
@ -26,12 +34,11 @@
{{ end }}
{{ end }}
{{ range .Params.tags }}
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
{{ end }}
<div>
{{ .Content }}
</div>
<div class="article__text">
{{ .Content }}
</div>
</article>
</main>
{{ end }}