bobatheme/layouts/shortcodes/see-also.html

8 lines
276 B
HTML
Raw Permalink Normal View History

2022-05-03 22:09:18 -05:00
<div class="see-also">
{{ with .Site.GetPage (.Get 0) }}
2022-05-09 19:53:00 -05:00
<p>{{ i18n "see_also" }} <a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></p>
2022-05-03 22:09:18 -05:00
{{ else }}
{{ errorf "Page could not be found for see-also shortcode: %s" .Position }}
{{ end }}
</div>