diff options
author | wires <wires@noreply.wires.systems> | 2025-04-01 11:47:22 -0400 |
---|---|---|
committer | wires <wires@noreply.wires.systems> | 2025-04-01 11:47:22 -0400 |
commit | 506fa714a38a337135ebc75bc3cfa694becec458 (patch) | |
tree | f066c64659d2203539823212eeed33ef2ad2664d /layouts/index.html | |
parent | redo home page (diff) | |
download | blog-506fa714a38a337135ebc75bc3cfa694becec458.tar.gz |
little tweaks to tags + comment color
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/layouts/index.html b/layouts/index.html index fd3d675..2289aac 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,14 +1,13 @@ -{{ define "main" }} -{{ .Content }} -{{ with .Site.RegularPages }} +{{ define "main" }} {{ .Content }} {{ with .Site.RegularPages }} <h2>Posts</h2> <ul> -{{ range . }} -<li> -<a href="{{ .Permalink }}">{{ .Title }}</a> -{{ partial "tags.html" . }} -</li> -{{ end }} + {{ range . }} + <li> + <a href="{{ .Permalink }}">{{ .Title }}</a> + <time datetime="{{ .Lastmod }}"> + {{ .Lastmod.Format "January 2, 2006" }} + </time> + </li> + {{ end }} </ul> -{{ end }} -{{ end }} +{{ end }} {{ end }} |