Initial commit.
This commit is contained in:
9
themes/blowfish/layouts/shortcodes/article.html
Normal file
9
themes/blowfish/layouts/shortcodes/article.html
Normal file
@@ -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>
|
Reference in New Issue
Block a user