1

Fixed missing markdownification

This commit is contained in:
2025-05-30 00:10:39 +02:00
parent f886e37588
commit a2fdcdcf54
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@
{{- if $isBlock }} {{- if $isBlock }}
<figure> <figure>
<img src="{{ $imgPath | safeURL }}" alt="{{ $alt }}" title="{{ $title }}"> <img src="{{ $imgPath | safeURL }}" alt="{{ $alt }}" title="{{ $title }}">
{{- with $title }}<figcaption>{{ . }}</figcaption>{{ end }} {{- with $title }}<figcaption>{{ . | markdownify }}</figcaption>{{ end }}
</figure> </figure>
{{- else }} {{- else }}
<img src="{{ $imgPath | safeURL }}" alt="{{ $alt }}" title="{{ $title }}"> <img src="{{ $imgPath | safeURL }}" alt="{{ $alt }}" title="{{ $title }}">

View File

@@ -81,7 +81,7 @@
{{ with $coverData.description }} {{ with $coverData.description }}
<section class="image-description"> <section class="image-description">
<p>{{ . }}</p> <p>{{ .| markdownify }}</p>
</section> </section>
{{ end }} {{ end }}