From 44607eee31bc9bd99c4d619618189578f1322885 Mon Sep 17 00:00:00 2001 From: Reed Piernock <18013388+reedcodes@users.noreply.github.com> Date: Sun, 18 Sep 2022 17:24:33 -0400 Subject: [PATCH] fix missing figcaption in feature image (#51) --- source/_includes/layouts/post.njk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/_includes/layouts/post.njk b/source/_includes/layouts/post.njk index a9cffb9..529fed3 100644 --- a/source/_includes/layouts/post.njk +++ b/source/_includes/layouts/post.njk @@ -24,6 +24,9 @@ {%- else -%} {%- image feature.file, feature.alt -%} {%- endif -%} + {%- if feature.credit -%} +
Photo credit: {{- feature.credit.name -}}
+ {%- endif -%}