Navigation "zurück" angepasst + Webp-Ressourcen angepasst
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
{{ if .Cover }}
|
{{ if .Cover }}
|
||||||
<img class="hero" src="{{ .Cover }}" alt="">
|
<img class="hero" src="{{ .Cover }}" alt="">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
<p><a href="/">← Zurück zur Übersicht</a></p>
|
||||||
<h1>{{ .Title }}</h1>
|
<h1>{{ .Title }}</h1>
|
||||||
<time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "02.01.2006" }}</time>
|
<time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "02.01.2006" }}</time>
|
||||||
|
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
{{ if .Cover }}
|
{{ if .Cover }}
|
||||||
<img src="{{ .Cover }}" alt="">
|
<img src="{{ .Cover }}" alt="">
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<img src="/static/img/placeholder.png" alt="">
|
<img src="/static/img/placeholder.webp" alt="">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<h2>{{ .Title }}</h2>
|
<h2>{{ .Title }}</h2>
|
||||||
|
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
{{ define "body" }}
|
{{ define "body" }}
|
||||||
<article>
|
<article>
|
||||||
|
<p><a href="/">← Zurück zur Übersicht</a></p>
|
||||||
<h1>{{ .Title }}</h1>
|
<h1>{{ .Title }}</h1>
|
||||||
<div class="article-content">{{ .Body }}</div>
|
<div class="article-content">{{ .Body }}</div>
|
||||||
<p><a href="/">← Zurück</a></p>
|
<p><a href="/">← Zurück</a></p>
|
||||||
|
Reference in New Issue
Block a user