add vars to templates

This commit is contained in:
Joerg Lehmann 2025-08-07 13:50:00 +02:00
parent a87f5085e7
commit e8fc18bc87
2 changed files with 3 additions and 8 deletions

View File

@ -1,9 +1,4 @@
{{define "body_content"}}
<p class="title is-4">Kontakt</p>
<p>nbit Informatik GmbH<br />
Untere Stockteile 16<br />
3806 B&ouml;nigen b. Interlaken<br />
<br />
+41 31 792 00 40<br />
<a href='&#109;ai&#108;&#116;o&#58;i&#37;6Ef&#111;&#64;%6Ebi&#116;&#46;%63h'>&#105;nfo&#64;nbit&#46;ch</a>
<p>{{ .Address }}
{{end}}

View File

@ -5,11 +5,11 @@
<div>
<div class="message is-danger">
<div class="message-body">
Kann ab sofort f&uuml;r CHF 8.-- pro Monat gemietet werden.
Kann ab sofort f&uuml;r {{ .MonthlyCost }} pro Monat gemietet werden.
<br /><br />
Hier gibt es einen <a href="static/files/mini-beieli-kurzbeschrieb.pdf" target="_blank">Kurzbeschrieb</a>, hier ein paar <a href="/images.html">Bilder</a>.
<br /><br />
Einrichtungsgeb&uuml;hr: CHF 150.-- (so lange Vorrat)
Einrichtungsgeb&uuml;hr: {{ .InitialCost }} (so lange Vorrat)
</div>
</div>
</div>