mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 12:13:19 -06:00
Add markdownify to see-also shortcode
This commit is contained in:
parent
de84bc5ddf
commit
3a4cb538f7
@ -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 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user