From a6c531b282cf52893e9a78e3bc57c6753501af3e Mon Sep 17 00:00:00 2001 From: kekskurse Date: Sun, 16 Jan 2022 00:56:54 +0100 Subject: [PATCH] Template --- webpage.tmpl | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/webpage.tmpl b/webpage.tmpl index 94105ca..6df2d9d 100644 --- a/webpage.tmpl +++ b/webpage.tmpl @@ -13,6 +13,7 @@ {{ range .daylist }} {{ . }} {{ end }} + Summe {{ range $val := .taglist }} @@ -21,13 +22,11 @@ {{ $secounds := index $.currentState $val $v }} {{tominute $secounds }} {{ end }} + {{ index $.weeklist $val }} {{ end }} -

Last 7 Days

-{{ range $a, $b := .weeklist }} -
  • {{ $a }}: {{ $b }}
  • -{{ end }} +

    Start