summaryrefslogtreecommitdiff
path: root/themes/blowfish/layouts/shortcodes/article.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/blowfish/layouts/shortcodes/article.html')
-rw-r--r--themes/blowfish/layouts/shortcodes/article.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/themes/blowfish/layouts/shortcodes/article.html b/themes/blowfish/layouts/shortcodes/article.html
new file mode 100644
index 0000000..68d74e7
--- /dev/null
+++ b/themes/blowfish/layouts/shortcodes/article.html
@@ -0,0 +1,9 @@
+{{ $parent := .Page.RelPermalink }}
+<section class="space-y-10 w-full">
+ {{ $RelPermalink := .Get "link" }}
+ {{ range ( where .Site.RegularPages "RelPermalink" $RelPermalink | first 1 ) }}
+ {{ if not (eq .RelPermalink $parent) }}
+ {{ partial "article-link/simple.html" . }}
+ {{ end }}
+ {{end}}
+</section> \ No newline at end of file