feat: add canonical link to all pages

This commit is contained in:
Bruno Carlin 2025-06-16 02:50:14 +02:00
parent be90d89d7c
commit e4a5029d24
Signed by: bcarlin
GPG key ID: 8E254EA0FFEB9B6D

View file

@ -21,6 +21,7 @@
<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title> <title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title>
<meta name="description" content="{{ default .Summary .Description }}"> <meta name="description" content="{{ default .Summary .Description }}">
<link rel="canonical" href="{{ .Permalink }}"/>
{{ template "_internal/opengraph.html" . }} {{ template "_internal/opengraph.html" . }}
{{ template "_internal/schema.html" . }} {{ template "_internal/schema.html" . }}