chore: updated page description partial

This commit is contained in:
Xin
2023-08-27 23:44:43 +01:00
parent 259b050dfb
commit a1f2859944
9 changed files with 25 additions and 6 deletions

View File

@ -1,11 +1,11 @@
{{ with .Description | plainify -}}
{{ . -}}
{{ else -}}
{{ if .IsPage -}}
{{ .Summary | plainify | chomp -}}
{{ else -}}
{{ if .IsHome -}}
{{ with .Site.Params.description | plainify -}}
{{ . -}}
{{ end -}}
{{ else -}}
{{ .Summary | plainify | chomp -}}
{{ end -}}
{{ end -}}