erster brauchbarer stand.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<!doctype html>
|
||||
<html lang="{{ site.Language.LanguageCode | default "de" }}">
|
||||
<head>
|
||||
{{ partial "head.html" . }}
|
||||
</head>
|
||||
<body{{ if eq .Section "erinnerungsorte" }} class="op-theme-blau"{{ end }}>
|
||||
|
||||
<!-- 1. SKIP-LINK -->
|
||||
<a class="op-skip-link" href="#hauptinhalt">{{ i18n "skipLink" }}</a>
|
||||
|
||||
{{ partial "navbar.html" . }}
|
||||
{{ partial "offcanvas.html" . }}
|
||||
|
||||
<main id="hauptinhalt">
|
||||
{{ block "main" . }}{{ end }}
|
||||
</main>
|
||||
|
||||
{{ partial "footer.html" . }}
|
||||
|
||||
{{ partial "scripts.html" . }}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,21 @@
|
||||
{{ define "main" }}
|
||||
<section class="uk-section">
|
||||
<div class="uk-container">
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ with .Content }}<div class="uk-margin-medium">{{ . }}</div>{{ end }}
|
||||
|
||||
<div class="uk-child-width-1-2@s uk-child-width-1-3@l uk-grid-match uk-margin-medium-top" uk-grid>
|
||||
{{ range .Pages }}
|
||||
<div>
|
||||
<div class="uk-card uk-card-default uk-card-body">
|
||||
{{ with .Params.kategorie }}<span class="op-kategorie">{{ . }}</span>{{ end }}
|
||||
{{ if not .Date.IsZero }}<p class="op-card-datum uk-margin-small-top uk-margin-remove-bottom">{{ time.Format "Mon, 2. Jan 2006" .Date }}</p>{{ end }}
|
||||
<h2 class="uk-h5 op-card-titel uk-margin-small"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
|
||||
<p class="op-meta uk-margin-remove">{{ .Params.teaser | default .Summary }}</p>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
@@ -0,0 +1,22 @@
|
||||
{{ define "main" }}
|
||||
<section class="op-detail-hero uk-section uk-section-small">
|
||||
<div class="uk-container uk-container-small">
|
||||
{{ with .Params.kategorie }}<span class="op-kategorie">{{ . }}</span>{{ end }}
|
||||
<h1 class="uk-margin-remove-bottom">{{ .Title }}</h1>
|
||||
{{ if or .Params.author (not .Date.IsZero) }}
|
||||
<p class="op-meta uk-margin-small-top uk-margin-remove-bottom">
|
||||
{{ with .Params.author }}von {{ . }}{{ if not $.Date.IsZero }} · {{ end }}{{ end }}
|
||||
{{ if not .Date.IsZero }}{{ time.Format "2. Jan 2006" .Date }}{{ end }}
|
||||
</p>
|
||||
{{ end }}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<article class="uk-section">
|
||||
<div class="uk-container uk-container-small">
|
||||
{{ $img := .Resources.GetMatch "{cover,*featured*,image}.*" }}
|
||||
{{ with $img }}<img class="uk-margin-bottom" src="{{ .RelPermalink }}" alt="">{{ end }}
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</article>
|
||||
{{ end }}
|
||||
@@ -0,0 +1,9 @@
|
||||
{{ define "main" }}
|
||||
<section class="op-detail-hero uk-section uk-section-small">
|
||||
<div class="uk-container">
|
||||
<p class="op-breadcrumb"><a href="{{ "/schauplaetze/" | relLangURL }}">{{ i18n "breadcrumbLocations" }}</a> » {{ partial "kat-label.html" .Title }}</p>
|
||||
<h1 class="uk-margin-remove-top uk-margin-remove-bottom">{{ partial "kat-label.html" .Title }}</h1>
|
||||
</div>
|
||||
</section>
|
||||
{{ partial "explorer.html" (dict "pages" .Pages) }}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user