Add markdownify to see-also shortcode

This commit is contained in:
BBaoVanC 2022-05-09 19:53:00 -05:00
parent de84bc5ddf
commit 3a4cb538f7
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A

View File

@ -1,6 +1,6 @@
<div class="see-also">
{{ with .Site.GetPage (.Get 0) }}
<p>{{ i18n "see_also" }} <a href="{{ .Permalink }}">{{ .Title }}</a></p>
<p>{{ i18n "see_also" }} <a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></p>
{{ else }}
{{ errorf "Page could not be found for see-also shortcode: %s" .Position }}
{{ end }}