mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2026-11-10 05:32:05 -06:00
Add markdownify to see-also shortcode
This commit is contained in:
1 file changed
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
<div class="see-also">
|
<div class="see-also">
|
||||||
{{ with .Site.GetPage (.Get 0) }}
|
{{ 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 }}
|
{{ else }}
|
||||||
{{ errorf "Page could not be found for see-also shortcode: %s" .Position }}
|
{{ errorf "Page could not be found for see-also shortcode: %s" .Position }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
Reference in new issue
Block a user