From e8fc18bc8730f6395d3d59a1dce98091d24ebefb Mon Sep 17 00:00:00 2001 From: Joerg Lehmann Date: Thu, 7 Aug 2025 13:50:00 +0200 Subject: [PATCH] add vars to templates --- snippets/contact.html | 7 +------ snippets/index.html | 4 ++-- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/snippets/contact.html b/snippets/contact.html index 2de8fea..2045496 100644 --- a/snippets/contact.html +++ b/snippets/contact.html @@ -1,9 +1,4 @@ {{define "body_content"}}

Kontakt

-

nbit Informatik GmbH
-Untere Stockteile 16
-3806 Bönigen b. Interlaken
-
-+41 31 792 00 40
-info@nbit.ch +

{{ .Address }} {{end}} diff --git a/snippets/index.html b/snippets/index.html index d8fe5cc..b63a21b 100644 --- a/snippets/index.html +++ b/snippets/index.html @@ -5,11 +5,11 @@

- Kann ab sofort für CHF 8.-- pro Monat gemietet werden. + Kann ab sofort für {{ .MonthlyCost }} pro Monat gemietet werden.

Hier gibt es einen Kurzbeschrieb, hier ein paar Bilder.

- Einrichtungsgebühr: CHF 150.-- (so lange Vorrat) + Einrichtungsgebühr: {{ .InitialCost }} (so lange Vorrat)