fundbureau: single-page site + Docker/Proxmox deploy
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
{{ define "bodyclass" }}home{{ end }}
|
||||
{{ define "main" }}
|
||||
{{ $a := .Site.Params.address }}
|
||||
<header class="wordmark">
|
||||
<a href="{{ "/" | relURL }}">{{ .Site.Params.name }}</a>
|
||||
</header>
|
||||
|
||||
<main class="stage">
|
||||
{{ with .Site.Params.hero.image }}
|
||||
<figure class="hero">
|
||||
<img src="{{ . | relURL }}" alt="{{ $.Site.Params.hero.alt }}" width="774" height="774">
|
||||
</figure>
|
||||
{{ end }}
|
||||
|
||||
<section class="colophon">
|
||||
{{ with .Site.Params.intro }}<p class="intro">{{ . | safeHTML }}</p>{{ end }}
|
||||
<address>
|
||||
{{ with $a.legal }}<span>{{ . }}</span>{{ end }}
|
||||
{{ with $a.street }}<span>{{ . }}</span>{{ end }}
|
||||
{{ with $a.city }}<span>{{ . }}</span>{{ end }}
|
||||
{{ with .Site.Params.email }}<a href="mailto:{{ . }}">{{ . }}</a>{{ end }}
|
||||
{{ with .Site.Params.instagram }}<a href="{{ . }}" rel="me noopener" target="_blank">instagram</a>{{ end }}
|
||||
</address>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
{{ with .Site.Params.credit }}
|
||||
<footer class="credit">
|
||||
<p><a href="{{ .url }}" rel="noopener" target="_blank">{{ .text }}</a></p>
|
||||
</footer>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user