Fixed missing markdownification
This commit is contained in:
@@ -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 }}">
|
||||||
|
|||||||
@@ -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 }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user