aboutsummaryrefslogtreecommitdiff
path: root/users/fcuny/notes/layouts/partials/postlist.html
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-05-23 19:32:36 -0700
committerFranck Cuny <franck@fcuny.net>2022-05-23 19:32:36 -0700
commit69fb19cd967ac301efba635fea9f31bf203cf0cb (patch)
tree8423069a26e5c8c845b0bbe58d2c2ea59a7ac6eb /users/fcuny/notes/layouts/partials/postlist.html
parentref(blog): remove unneeded files for the blog (diff)
parentdelete Makefile (diff)
downloadinfra-69fb19cd967ac301efba635fea9f31bf203cf0cb.tar.gz
Merge remote-tracking branch 'notes/main'
Diffstat (limited to '')
-rw-r--r--users/fcuny/notes/layouts/partials/postlist.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/users/fcuny/notes/layouts/partials/postlist.html b/users/fcuny/notes/layouts/partials/postlist.html
new file mode 100644
index 0000000..3d5cf04
--- /dev/null
+++ b/users/fcuny/notes/layouts/partials/postlist.html
@@ -0,0 +1,12 @@
+{{ range .GroupByDate "2006" }}
+ <h2>{{ .Key }}</h2>
+ <ul>
+ {{ range .Pages.ByDate.Reverse }}
+ <li>
+ <div>
+ <a href="{{ .Permalink }}">{{ .Title }}</a>
+ </div>
+ </li>
+ {{ end }}
+ </ul>
+{{ end }}