Compare commits

...

2 Commits

Author SHA1 Message Date
e266c9c78f Alte Ressourcen entfernt, Favicon gesetzt
All checks were successful
release-tag / release-image (push) Successful in 1m49s
2025-05-05 21:37:29 +02:00
229f78a7ee Navigation "zurück" angepasst + Webp-Ressourcen angepasst 2025-05-05 21:34:02 +02:00
8 changed files with 4 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@@ -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>

View File

@@ -8,6 +8,7 @@
<meta name="description" content="{{ .Description }}">
{{ end }}
<title>{{ block "title" . }}B1tsblog{{ end }}</title>
<link rel="icon" type="image/vnd.icon" href="/static/img/favicon.ico">
<link rel="stylesheet" href="/static/main.css">
</head>
<body>

View File

@@ -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>

View File

@@ -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>