bobatheme/layouts/shortcodes/see-also.html
2022-05-03 22:09:18 -05:00

8 lines
250 B
HTML

<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>