From 6cdd02af0684500b5376d4d4a08feb796fdaf889 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20J=C3=B8rgensen?= Date: Fri, 24 May 2024 23:33:49 +0200 Subject: Add date stuff --- templates/index.html | 6 +++--- templates/parts/entry.html | 6 ++++-- templates/parts/entryRows.html | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) (limited to 'templates') diff --git a/templates/index.html b/templates/index.html index eecf879..b2dc6b0 100644 --- a/templates/index.html +++ b/templates/index.html @@ -55,9 +55,9 @@
- - - + + +
diff --git a/templates/parts/entry.html b/templates/parts/entry.html index 9f05ffa..300f543 100644 --- a/templates/parts/entry.html +++ b/templates/parts/entry.html @@ -48,13 +48,15 @@ >Gem {{end}} - {{ if .Detached }} + {{ if .Detached}} + {{ if .DateInfo.IsToday }} + {{ end }} {{ else }} {{ if .Entry }} - {{ end }} + {{ end }} diff --git a/templates/parts/entryRows.html b/templates/parts/entryRows.html index fd14608..9e9c0eb 100644 --- a/templates/parts/entryRows.html +++ b/templates/parts/entryRows.html @@ -1,4 +1,4 @@ - + {{ range $entry := .Entries }} {{ $entry.Id }} -- cgit v1.2.3