bobatheme/layouts/shortcodes/see-also.html

8 lines
250 B
HTML
Raw Normal View History

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