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