Merge pull request 'staging' (#1) from staging into main
All checks were successful
release-tag / release-image (push) Successful in 1m55s

Reviewed-on: #1
This commit is contained in:
2025-05-06 10:20:47 +00:00
5 changed files with 14 additions and 10 deletions

View File

@@ -65,6 +65,10 @@ a {
} }
a:hover { color: var(--accent-light); } a:hover { color: var(--accent-light); }
a.no-underline {
text-decoration: none;
}
/* Container in der Mitte */ /* Container in der Mitte */
.wrapper { .wrapper {
max-width: 1200px; max-width: 1200px;
@@ -80,7 +84,7 @@ header, footer {
header { header {
position: sticky; top: 0; z-index: 10; position: sticky; top: 0; z-index: 10;
display: flex; justify-content: space-between; align-items: center; display: flex; justify-content: space-between; align-items: center;
padding: 1rem calc(var(--gap) / 1.2); padding: 10px calc(var(--gap) / 1.2);
} }
header h1 { margin: 0; font-size: 1.4rem; } header h1 { margin: 0; font-size: 1.4rem; }
footer { footer {

View File

@@ -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> <p><a class="no-underline" 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>
@@ -13,7 +13,7 @@
{{ .Body }} {{ .Body }}
</div> </div>
<p><a href="/">Zurück zur Übersicht</a></p> <p><a class="no-underline" href="/">Zurück zur Übersicht</a></p>
</article> </article>
{{ end }} {{ end }}

View File

@@ -13,12 +13,12 @@
</head> </head>
<body> <body>
<header> <header>
<h1><a href="/">B1tsblog</a></h1> <h1><a href="/" class="no-underline">B1tsblog</a></h1>
<nav class="main-nav"> <nav class="main-nav">
<ul> <ul>
<li><a href="/">Startseite</a></li> <li><a class="no-underline" href="/">Startseite</a></li>
<li><a href="/page/welcome">Hallo! und Datenschutz</a></li> <li><a class="no-underline" href="/page/welcome">Hallo! und Datenschutz</a></li>
<li><a href="/page/impressum">Impressum</a></li> <li><a class="no-underline" href="/page/impressum">Impressum</a></li>
<!-- später: <li><a href="/page/datenschutz">Datenschutz</a></li> --> <!-- später: <li><a href="/page/datenschutz">Datenschutz</a></li> -->
</ul> </ul>
</nav> </nav>

View File

@@ -2,7 +2,7 @@
<ul class="post-list"> <ul class="post-list">
{{ range .Articles }} {{ range .Articles }}
<li> <li>
<a class="card" href="/post/{{ .Slug }}"> <a class="card no-underline" href="/post/{{ .Slug }}">
{{ if .Cover }} {{ if .Cover }}
<img src="{{ .Cover }}" alt=""> <img src="{{ .Cover }}" alt="">
{{ else }} {{ else }}

View File

@@ -2,10 +2,10 @@
{{ define "body" }} {{ define "body" }}
<article> <article>
<p><a href="/">Zurück zur Übersicht</a></p> <p><a class="no-underline" 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 class="no-underline" href="/">Zurück</a></p>
</article> </article>
{{ end }} {{ end }}