added new shortcodes and respective docs

This commit is contained in:
Nuno Coração committed 2022-10-06 23:52:51 +01:00
1 parent 7e613a6219
commit 7ba6c3661d
7 files changed
+86 -5

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
{{ $parent := .Page.RelPermalink }}
<section class="w-full mt-10 mb-10">
{{ $RelPermalink := .Get "link" }}
{{ range ( where .Site.RegularPages "RelPermalink" $RelPermalink | first 1 ) }}
{{ if not (eq .RelPermalink $parent) }}
{{ partial "article-link.html" . }}
{{ end }}
{{end}}
</section>