diff options
author | Franck Cuny <franck@fcuny.net> | 2022-10-29 12:49:19 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-10-29 12:49:19 -0700 |
commit | dc8cf9429bac11160d6c9727d363468c2adce8a3 (patch) | |
tree | 6e4489af5167e5f2de16f737f810acfab46e3a84 /layouts/partials/postlist.html | |
parent | ref: update humans.txt (diff) | |
download | fcuny.net-dc8cf9429bac11160d6c9727d363468c2adce8a3.tar.gz |
ref(style): simplify further the style of the site
Get rid of the footer and the icons. Set a light background color, and simplified the listing of the pages.
Diffstat (limited to '')
-rw-r--r-- | layouts/partials/postlist.html | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/layouts/partials/postlist.html b/layouts/partials/postlist.html index 3d5cf04..575f0b8 100644 --- a/layouts/partials/postlist.html +++ b/layouts/partials/postlist.html @@ -1,12 +1,10 @@ -{{ range .GroupByDate "2006" }} - <h2>{{ .Key }}</h2> - <ul> - {{ range .Pages.ByDate.Reverse }} - <li> - <div> - <a href="{{ .Permalink }}">{{ .Title }}</a> - </div> - </li> - {{ end }} - </ul> -{{ end }} +<ul class="list-content"> + {{ range .GroupByDate "2006" }} + {{ range .Pages.ByDate.Reverse }} + <li> + <span class="content-title"><strong><a href="{{ .Permalink }}">{{ .Title }}</a></strong></span> + <span class="content-date"><em>posted on {{ .Date.Format "Jan 2, 2006" }}</em></span> + </li> + {{ end }} + {{ end }} +</ul> |