From c4e1084132ffed24e4f616f8362d758f5ef655b6 Mon Sep 17 00:00:00 2001 From: shockrah Date: Sun, 4 Feb 2024 16:34:03 -0800 Subject: [PATCH] contentthumbnail(bool) now supported in feed posts --- main-site/archetypes/default.md | 1 + main-site/themes/temper/layouts/_default/single.html | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/main-site/archetypes/default.md b/main-site/archetypes/default.md index f784b54..0747fd0 100644 --- a/main-site/archetypes/default.md +++ b/main-site/archetypes/default.md @@ -3,5 +3,6 @@ title: '{{ replace .File.ContentBaseName "-" " " | title }}' description: null date: {{ .Date }} thumbnail: null +ContentThumbnail: true article: false --- diff --git a/main-site/themes/temper/layouts/_default/single.html b/main-site/themes/temper/layouts/_default/single.html index 474e078..5fb1db6 100644 --- a/main-site/themes/temper/layouts/_default/single.html +++ b/main-site/themes/temper/layouts/_default/single.html @@ -7,9 +7,11 @@ {{ end }} {{ if .Params.Thumbnail }} - - - + {{ if .Params.ContentThumbnail }} + + + + {{ end }} {{ end }}
{{ .Content }}
{{ end }}