Files
iwz/layouts/_default/list.html
T
Michael Stangl f74614672b @
Ferienwohnungs-Ausstattung ueberarbeitet

Ausstattungsangaben der FeWos auf ein gemeinsames Feld
gemeinsame_ausstattung umgestellt und die Detail-/Listen-/Startseiten-
Templates (ferienwohnungen/single.html, _default/list.html,
index.html) entsprechend angepasst.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@
2026-08-28 16:45:20 +02:00

50 lines
1.6 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{{ define "main" }}
<div class="container">
<h1>{{ .Title }}</h1>
{{ .Content }}
<div class="belegungsplan-toggle">
<button type="button" class="btn btn-primary" id="belegungsplan-btn" aria-expanded="false" aria-controls="belegungsplan-frame">
Belegungsplan – hier freie Kapazitäten einsehen
</button>
<div class="belegungsplan-frame" id="belegungsplan-frame" data-src="https://www.webplanner.de/tools/?76703072363837353064343069" hidden></div>
</div>
<div class="fewo-grid">
{{ range .Pages }}
<div class="fewo-card">
{{ with .Params.bild }}
<img src="{{ . }}" alt="{{ $.Title }}" class="fewo-card-img">
{{ end }}
<div class="fewo-card-body">
<h2><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
<p class="fewo-meta">
{{ with .Params.groesse }}<span>{{ . }}</span>{{ end }}
{{ with .Params.personen }}<span>bis {{ . }} Personen</span>{{ end }}
{{ with .Params.preis }}<span>ab {{ . }} € / Nacht</span>{{ end }}
</p>
{{ with .Params.teaser }}<p>{{ . }}</p>{{ end }}
<a href="{{ .RelPermalink }}" class="btn btn-primary">Mehr erfahren</a>
</div>
</div>
{{ end }}
</div>
{{ with .Params.gemeinsame_ausstattung }}
<div class="umfeld" id="umfeld">
<p class="umfeld-intro">Diese Ausstattung gilt für alle drei Ferienwohnungen gleichermaßen.</p>
<div class="spec-grid">
{{ range . }}
<div class="spec-block">
<h3>{{ .titel }}</h3>
<ul>
{{ range .punkte }}<li>{{ . }}</li>{{ end }}
</ul>
</div>
{{ end }}
</div>
</div>
{{ end }}
</div>
{{ end }}