Skip to content

Commit

Permalink
fix missing figcaption in feature image (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
reedcodes committed Sep 18, 2022
1 parent f991ac7 commit 44607ee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/_includes/layouts/post.njk
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
{%- else -%}
{%- image feature.file, feature.alt -%}
{%- endif -%}
{%- if feature.credit -%}
<figcaption class="bg-foreground">Photo credit: <a href="{{- feature.credit.link -}}">{{- feature.credit.name -}}</a></figcaption>
{%- endif -%}
</figure>
</div>
</section>
Expand Down

0 comments on commit 44607ee

Please sign in to comment.