summaryrefslogtreecommitdiff
path: root/themes/orca/layouts/_shortcodes/all-posts.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/orca/layouts/_shortcodes/all-posts.html')
-rw-r--r--themes/orca/layouts/_shortcodes/all-posts.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/themes/orca/layouts/_shortcodes/all-posts.html b/themes/orca/layouts/_shortcodes/all-posts.html
new file mode 100644
index 0000000..dab993a
--- /dev/null
+++ b/themes/orca/layouts/_shortcodes/all-posts.html
@@ -0,0 +1,4 @@
+{{ $pages := where site.RegularPages "Type" "eq" (.Get "type") }}
+{{ range $pages }}
+ {{ partial "post-item" . }}
+{{ end }}