Initial working draft.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
{{ $src := .Get "src" }}
|
||||
{{ $alt := .Get "alt" }}
|
||||
{{ $title := .Get "title" }}
|
||||
<img class="banner img-fluid" src="{{ $src }}" alt="{{ $alt }}" title="{{ $title }}" width="100%">
|
||||
@@ -0,0 +1,4 @@
|
||||
{{- $href := .Get "href" -}}
|
||||
{{- $text := .Get "text" -}}
|
||||
{{- $class := or (.Get "class") "btn-primary" -}}
|
||||
<a href="{{ $href }}" class="btn {{ $class }} mb-3">{{ $text }}</a>
|
||||
@@ -0,0 +1,15 @@
|
||||
<div class="col">
|
||||
<div class="card h-100">
|
||||
<h5 class="card-header">{{ .Get "title" }}</h5>
|
||||
<div class="card-body">
|
||||
<p class="card-text">{{ .Inner }}</p>
|
||||
</div>
|
||||
{{- $link_href := .Get "link-href" -}}
|
||||
{{- if $link_href }}
|
||||
<div class="card-footer text-body-secondary">
|
||||
<a href="{{ $link_href }}">{{ .Get "link-text" }}</a>
|
||||
</div>
|
||||
{{- end -}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
{{- $cols := or (.Get "cols") 4 -}}
|
||||
<div class="row row-cols-1 row-cols-lg-{{ $cols }} g-4 mb-5">
|
||||
{{ .Inner }}
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
<p>
|
||||
Aktuelle Cookie-Einstellung: <strong id="cookie-status">—</strong>
|
||||
</p>
|
||||
<button id="cookie-settings" onclick="reopenCookieBanner()" class="btn btn-secondary mb-3">
|
||||
Cookie-Einstellung ändern
|
||||
</button>
|
||||
@@ -0,0 +1 @@
|
||||
{{- now.Format "2006" -}}
|
||||
@@ -0,0 +1 @@
|
||||
<span class="small">{{ or hugo.BuildDate "live" }}/{{ hugo.Version }}/{{ hugo.Environment }}</span>
|
||||
@@ -0,0 +1,5 @@
|
||||
{{- $src := .Get "src" }}
|
||||
{{- $alt := .Get "alt" }}
|
||||
{{- $title := .Get "title" }}
|
||||
{{- $class := .Get "class" }}
|
||||
<img class="img-fluid {{ $class }}" src="{{ $src }}" title="{{ $title }}" alt="{{ $alt }}">
|
||||
Reference in New Issue
Block a user