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/parts/entry.html | 6 ++++-- templates/parts/entryRows.html | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'templates/parts') 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