erster brauchbarer stand.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -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 }}
|
||||
Reference in New Issue
Block a user