Use post description in meta seo

This commit is contained in:
kbe
2025-08-19 23:52:23 +02:00
parent ef7951c1e4
commit 880af9bb7d

View File

@@ -1,4 +1,4 @@
{{- $description := .Description | default .Summary | default .Site.Params.description | default .Site.Title -}} {{- $description := .Description | default .Params.description | default .Summary | default .Site.Params.description | default .Site.Title -}}
{{- $keywords := delimit (.Keywords | default .Site.Params.keywords | default (slice)) ", " -}} {{- $keywords := delimit (.Keywords | default .Site.Params.keywords | default (slice)) ", " -}}
{{- $author := .Params.author | default .Site.Params.author | default .Site.Title -}} {{- $author := .Params.author | default .Site.Params.author | default .Site.Title -}}
{{- $robots := .Params.robots | default "index, follow" -}} {{- $robots := .Params.robots | default "index, follow" -}}