Update header

This commit is contained in:
Jan Kremer 2026-03-15 12:12:13 +01:00
parent b1e32b2c9f
commit aa8a58141d
No known key found for this signature in database
4 changed files with 17 additions and 6 deletions

View file

@ -157,12 +157,18 @@ svg {
margin: 0.5rem;
vertical-align: middle;
fill: light-dark(var(--uchu-yin), var(--uchu-yang));
@media (prefers-color-scheme: dark) {
path {
fill: white;
}
}
}
&.active {
text-decoration: underline;
text-decoration-color: var(--uchu-blue);
}
}
header {
@ -206,7 +212,7 @@ article {
height: auto;
margin: 0;
figcaption > p {
figcaption>p {
margin: 0.25rem 0 2rem;
font-family: var(--sans-serif);
text-align: center;
@ -218,7 +224,7 @@ article {
height: auto;
}
> p:nth-of-type(2)::first-letter {
>p:nth-of-type(2)::first-letter {
font-size: 3.3rem;
float: left;
line-height: 3rem;
@ -302,6 +308,7 @@ footer {
width: 0.75rem;
vertical-align: middle;
margin: 0 1px;
@media (prefers-color-scheme: dark) {
path {
fill: white;

View file

@ -3,7 +3,7 @@ date = '2024-12-12'
title = 'Über mich'
+++
Mein Name ist _Jan Kremer_. Ich bin 29 Jahre alt und bin *Apotheker*. Manchmal schreibe ich über Technik und Software die ich benutze.
Mein Name ist _Jan Kremer_. Ich bin 29 Jahre alt und habe *Pharmazie* studiert. Manchmal schreibe ich über Technik und Software die ich benutze.
Wenn ich nicht gerade lerne, mache ich gerne Sport, vor allem Joggen, Kraftsport und Tanzen.

View file

@ -12,7 +12,7 @@ email = "mail@jankremer.eu"
[menus]
[[menus.main]]
name = "Blog"
pageRef = "/"
pageRef = "/blog"
weight = 1
[[menus.main]]
name = "Fotos"

View file

@ -1,2 +1,6 @@
<a href="/" class="title">{{ partial "logo.svg" . }}{{ site.Title }}</a>
{{- $attrs := dict "class" "title" }}
{{- if .IsHome }}
{{- $attrs = merge $attrs (dict "class" "title active" "aria-current" "page") }}
{{- end }}
<a href="/" {{ range $k, $v :=$attrs }}{{ $k }}="{{ $v }}" {{ end }}>{{ partial "logo.svg" . }}{{ site.Title }}</a>
{{ partial "menu.html" (dict "menuID" "main" "page" .) }}