diff options
author | Franck Cuny <franck@fcuny.net> | 2022-04-03 17:50:25 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-04-03 17:50:25 -0700 |
commit | a92df1fcec2d419f4352c56585f3cd1a871fc87c (patch) | |
tree | 2759700112ca2df450796447ef32a466b2077337 /users/fcuny/notes/layouts/index.html | |
parent | delete some content (diff) | |
download | world-a92df1fcec2d419f4352c56585f3cd1a871fc87c.tar.gz |
site: remove unnecessary elements
Diffstat (limited to 'users/fcuny/notes/layouts/index.html')
-rw-r--r-- | users/fcuny/notes/layouts/index.html | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/users/fcuny/notes/layouts/index.html b/users/fcuny/notes/layouts/index.html index a340d3d..8ddc67d 100644 --- a/users/fcuny/notes/layouts/index.html +++ b/users/fcuny/notes/layouts/index.html @@ -2,16 +2,18 @@ <article> -<h1>{{ .Site.Home.Title }}</h1> + A place to collect random notes. -<p>This is my collection of notes.</p> - - <h2>Notes</h2> - <ul> + <ul id="post-permalink"> {{- $pages := where site.RegularPages "Type" "in" site.Params.mainSections }} {{ range $pages }} - {{- $fmt := "2006-01-02" }} - <li class="post-permalink"><span class="post-date" >{{ .Date.Format $fmt | safeHTML }}</span>, <a href="{{ .Permalink }}">{{ .Title }}</a></li> + <li> + <a href="{{ .Permalink }}">{{ .Title }}</a> + {{ range $idx, $tag := .Params.tags }} + <span id="meta_tags"><a href="/tags/{{ $tag | urlize }}/">{{ $tag }}</a></span> + {{ end }} + </li> + {{ end }} </ul> |