Add see-also shortcode

This commit is contained in:
bbaovanc committed 2022-05-03 22:09:18 -05:00
1 parent 87a6da5c41
commit 2731d9795f
2 files changed
+20

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
<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>