erste Fassung erstellt

This commit is contained in:
Michael Stangl
2026-08-24 16:17:08 +02:00
commit d6822f826c
126 changed files with 1574 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
{{ define "main" }}
<article class="page">
<div class="container">
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ range .Params.galerien }}
<section class="ausflug-gruppe">
<div class="ausflug-inner">
<div class="ausflug-text">
<h2>{{ .titel }}</h2>
{{ with .text }}<p>{{ . }}</p>{{ end }}
{{ with .punkte }}
<ul class="ausflug-punkte">
{{ range . }}<li>{{ . }}</li>{{ end }}
</ul>
{{ end }}
</div>
<div class="ausflug-bild">
<div class="slider slider--single">
<button type="button" class="slider-arrow slider-prev" aria-label="Zurück">&#10094;</button>
<div class="slider-track">
{{ range .bilder }}
<a href="{{ . }}" class="slider-slide">
<img src="{{ . }}" alt="{{ $.Title }}" loading="lazy">
</a>
{{ end }}
</div>
<button type="button" class="slider-arrow slider-next" aria-label="Weiter">&#10095;</button>
</div>
</div>
</div>
</section>
{{ end }}
</div>
</article>
{{ end }}
+14
View File
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="de">
<head>
{{ partial "head.html" . }}
</head>
<body>
{{ partial "nav.html" . }}
<main class="main">
{{ block "main" . }}{{ end }}
</main>
{{ partial "footer.html" . }}
<script src="/js/main.js"></script>
</body>
</html>
+10
View File
@@ -0,0 +1,10 @@
{{ define "main" }}
{{ with .Params.banner }}
<section class="page-banner" style="background-image: url('{{ . }}');"></section>
{{ end }}
<article class="page">
<div class="container">
{{ .Content }}
</div>
</article>
{{ end }}
+25
View File
@@ -0,0 +1,25 @@
{{ define "main" }}
<div class="container">
<h1>{{ .Title }}</h1>
{{ .Content }}
<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="{{ .Permalink }}">{{ .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>
<p>{{ .Summary }}</p>
<a href="{{ .Permalink }}" class="btn">Mehr erfahren</a>
</div>
</div>
{{ end }}
</div>
</div>
{{ end }}
+8
View File
@@ -0,0 +1,8 @@
{{ define "main" }}
<article class="page">
<div class="container">
<h1>{{ .Title }}</h1>
{{ .Content }}
</div>
</article>
{{ end }}