diff --git a/layouts/_default/archives.html b/layouts/_default/archives.html index eea3fc8a..32926030 100644 --- a/layouts/_default/archives.html +++ b/layouts/_default/archives.html @@ -20,7 +20,7 @@ {{- end }} {{- end }} - {{- if .Description }} + {{- if and (.Param "ShowDescription") .Description }}
{{ .Description }}
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 81aea6e4..9e917bd2 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -22,7 +22,7 @@ {{- end }} {{- end }} - {{- if .Description }} + {{- if and (.Param "ShowDescription") .Description }}
{{ .Description | markdownify }}
diff --git a/layouts/_default/search.html b/layouts/_default/search.html index bb7d436d..5e5e2cc6 100644 --- a/layouts/_default/search.html +++ b/layouts/_default/search.html @@ -8,7 +8,7 @@ - {{- if .Description }} + {{- if and (.Param "ShowDescription") .Description }}
{{ .Description }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 19a624f4..81db8ca9 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -14,7 +14,7 @@ {{- end }} - {{- if .Description }} + {{- if and (.Param "ShowDescription") .Description }}
{{ .Description }}
diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index 6fd26540..98b2faa0 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -3,7 +3,7 @@ {{- if .Title }}