diff options
| author | Franck Cuny <franck@fcuny.net> | 2022-05-23 17:43:02 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2022-05-23 17:43:02 -0700 |
| commit | 14a5a6d480f0c2d71b3f43b272e07c5ce769ad83 (patch) | |
| tree | 33c9de5c9d5d2da8d0dc16302dfb9500717a490b /users/fcuny/blog/layouts/partials/postlist.html | |
| parent | feat(tahoe): enable sourcegraph (diff) | |
| parent | sign the drone configuration (diff) | |
| download | infra-14a5a6d480f0c2d71b3f43b272e07c5ce769ad83.tar.gz | |
Merge remote-tracking branch 'blog/main' into fcuny/migrate-monorepo-blog
Diffstat (limited to '')
| -rw-r--r-- | users/fcuny/blog/layouts/partials/postlist.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/users/fcuny/blog/layouts/partials/postlist.html b/users/fcuny/blog/layouts/partials/postlist.html new file mode 100644 index 0000000..3d5cf04 --- /dev/null +++ b/users/fcuny/blog/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 }} |
