summaryrefslogtreecommitdiff
path: root/layouts/partials/all-posts.html
diff options
context:
space:
mode:
authorfrosty <passedgoadngot200@disroot.org>2025-09-16 18:18:10 -0400
committerfrosty <passedgoadngot200@disroot.org>2025-09-16 18:18:10 -0400
commit01a2f10cfa100996e18e52f245f0be2baf545a00 (patch)
tree3bbadf32a6511cb1d26e98f3496e1331f065b91c /layouts/partials/all-posts.html
downloadwww-01a2f10cfa100996e18e52f245f0be2baf545a00.tar.gz
www-01a2f10cfa100996e18e52f245f0be2baf545a00.zip
initial commit
Diffstat (limited to 'layouts/partials/all-posts.html')
-rw-r--r--layouts/partials/all-posts.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/partials/all-posts.html b/layouts/partials/all-posts.html
new file mode 100644
index 0000000..77d8a18
--- /dev/null
+++ b/layouts/partials/all-posts.html
@@ -0,0 +1,7 @@
+{{ range $index, $page := where .Site.RegularPages "Section" "blog" }}
+ <div class="blog-item">
+ {{ $page.Date.Format "January 2, 2006" }}
+ <br>
+ <a href="{{ $page.RelPermalink }}">{{ $page.Title }}</a>
+ </div>
+{{ end }}