mirror of
https://github.com/skoelle/buildbroken-blog-archive.git
synced 2026-09-17 18:30:25 +00:00
fix category/tags meta description
This commit is contained in:
@@ -11,6 +11,8 @@
|
|||||||
{{- $desc := "" }}
|
{{- $desc := "" }}
|
||||||
{{- if .IsHome }}
|
{{- if .IsHome }}
|
||||||
{{- $desc = .Site.Params.description }}
|
{{- $desc = .Site.Params.description }}
|
||||||
|
{{- else if .Content }}
|
||||||
|
{{- $desc = .Content | plainify }}
|
||||||
{{- else if .IsNode }}
|
{{- else if .IsNode }}
|
||||||
{{- if eq .Kind "term" }}
|
{{- if eq .Kind "term" }}
|
||||||
{{- if eq .Data.Singular "tag" }}
|
{{- if eq .Data.Singular "tag" }}
|
||||||
|
|||||||
Reference in New Issue
Block a user