fix: falls back on summary if description is not set

This commit is contained in:
Bruno Carlin 2025-06-16 02:50:14 +02:00
parent 839606f70c
commit be90d89d7c
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 8E254EA0FFEB9B6D

View file

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