fix: falls back on summary if description is not set
This commit is contained in:
parent
839606f70c
commit
be90d89d7c
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
||||||
<link rel="manifest" href="/site.webmanifest" />
|
<link rel="manifest" href="/site.webmanifest" />
|
||||||
|
|
||||||
<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="{{ .Description }}">
|
<meta name="description" content="{{ default .Summary .Description }}">
|
||||||
|
|
||||||
{{ template "_internal/opengraph.html" . }}
|
{{ template "_internal/opengraph.html" . }}
|
||||||
{{ template "_internal/schema.html" . }}
|
{{ template "_internal/schema.html" . }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue