speed improvements + fix deprecation in hugo.toml + fix typo

This commit is contained in:
Michi 2025-03-23 20:18:18 +01:00
parent 17effb40bb
commit ebe56d70a9
6 changed files with 81 additions and 78 deletions

View file

@ -1,5 +1,5 @@
---
title: "Hast du dieses Website selbst programmiert?"
title: "Hast du diese Website selbst programmiert?"
slug: "selfmade-website"
---

145
hugo.toml
View file

@ -8,44 +8,45 @@ defaultContentLanguage = 'de'
languageCode = 'de-CH'
weight = 10
title = 'Michi von Ah - Informatiker, Tech-Enthusiast & Achterbahn-Fan'
description = "Hallo! Ich heisse Michi und interessiere mich für Smartphones, Computer, Elektromobilität (hauptsächlich Tesla) und weitere spannende Technik."
metadataCard = "assets/metadata/website-banner-de.jpg"
keywords = [
"Michi",
"Michi von Ah",
"Michael von Ah",
"von Ah",
"von Ah Michi",
"von Ah Michael",
"mva",
"mivo",
"vom",
"Michi v.A.",
"Michi vA.",
"Persönliche Website",
"Persönliche Webseite",
"Eigene Website",
"Eigene Webseite",
"Meine Webseite",
"Meine Website",
"Über mich",
"Website",
"Webseite",
"Portfolio",
"Informatiker",
"Plattformentwicklung",
"Plattformentwickler",
"IT",
"technikinteressiert",
"Tech-Enthusiast",
"Achterbahn-Fan",
"Webentwicklung",
"System Engineer",
"Lifestyle",
"Technologie",
"3K"
]
[languages.de.params]
title = 'Michi von Ah - Informatiker, Tech-Enthusiast & Achterbahn-Fan'
description = "Hallo! Ich heisse Michi und interessiere mich für Smartphones, Computer, Elektromobilität (hauptsächlich Tesla) und weitere spannende Technik."
metadataCard = "assets/metadata/website-banner-de.jpg"
keywords = [
"Michi",
"Michi von Ah",
"Michael von Ah",
"von Ah",
"von Ah Michi",
"von Ah Michael",
"mva",
"mivo",
"vom",
"Michi v.A.",
"Michi vA.",
"Persönliche Website",
"Persönliche Webseite",
"Eigene Website",
"Eigene Webseite",
"Meine Webseite",
"Meine Website",
"Über mich",
"Website",
"Webseite",
"Portfolio",
"Informatiker",
"Plattformentwicklung",
"Plattformentwickler",
"IT",
"technikinteressiert",
"Tech-Enthusiast",
"Achterbahn-Fan",
"Webentwicklung",
"System Engineer",
"Lifestyle",
"Technologie",
"3K"
]
[languages.en]
contentDir = 'content/en'
@ -53,42 +54,44 @@ defaultContentLanguage = 'de'
languageCode = 'en-CH'
weight = 20
title = 'Michi von Ah - IT guy, tech enthusiast & rollercoaster fan'
description = "Hi! My name is Michi and Im interested in smartphones, computers, e-mobility (mainly Tesla) and other exciting technology."
metadataCard = "assets/metadata/website-banner-en.jpg"
keywords = [
"Michi",
"Michi von Ah",
"Michael von Ah",
"von Ah",
"von Ah Michi",
"von Ah Michael",
"mva",
"mivo",
"vom",
"Michi v.A.",
"Michi vA.",
"personalwebsite",
"personal homepage",
"about me",
"website",
"portfolio",
"Informatiker",
"informatics",
"IT",
"IT guy",
"tech enthusiast",
"rollercoaster fan",
"developer",
"system engineer",
"lifestyle",
"develoment",
"technology",
"3K"
]
[languages.en.params]
title = 'Michi von Ah - IT guy, tech enthusiast & rollercoaster fan'
description = "Hi! My name is Michi and Im interested in smartphones, computers, e-mobility (mainly Tesla) and other exciting technology."
metadataCard = "assets/metadata/website-banner-en.jpg"
keywords = [
"Michi",
"Michi von Ah",
"Michael von Ah",
"von Ah",
"von Ah Michi",
"von Ah Michael",
"mva",
"mivo",
"vom",
"Michi v.A.",
"Michi vA.",
"personalwebsite",
"personal homepage",
"about me",
"website",
"portfolio",
"Informatiker",
"informatics",
"IT",
"IT guy",
"tech enthusiast",
"rollercoaster fan",
"developer",
"system engineer",
"lifestyle",
"develoment",
"technology",
"3K"
]
[params]
author = "Michi von Ah"
pagetype = "website"
legalLink = "https://legal.michivonah.ch"
faviconPath = "assets/logo/favicon_256.png"
faviconPathSVG = "assets/logo/logo_black.svg"

View file

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<head>
<meta charset="UTF-8">
<title>{{ .Site.Title }}</title>
<meta name="mobile-web-app-title" content="{{ .Site.Title }}">
<meta name="apple-mobile-web-app-title" content="{{ .Site.Title }}">
@ -12,10 +13,9 @@
<link rel="apple-touch-icon" sizes="180x180" href="{{ .Site.Params.faviconPath | relURL }}">
<link rel="apple-touch-icon" sizes="167x167" href="{{ .Site.Params.faviconPath | relURL }}">
<link rel="canonical" href="{{ .Site.BaseURL }}">
<script src='{{ "/akar-icons-fonts/src/index.js" | relURL }}'></script>
<script src='{{ "/akar-icons-fonts/src/index.js" | relURL }}' async></script>
<script src='{{ "/main.js" | absURL }}' defer></script>
<link rel="stylesheet" type="text/css" href='{{ "/style.css" | absURL }}' media="screen"/>
<meta charset="UTF-8">
<meta name="description" content="{{ .Site.Params.description }}">
<meta name="keywords" content='{{ delimit site.Params.keywords ", " }}'>
<meta name="author" content="{{ .Site.Params.author }}">
@ -24,6 +24,7 @@
<meta property="og:title" content="{{ .Site.Params.author }}">
<meta property="og:description" content="{{ .Site.Params.description }}">
<meta property="og:type" content="{{ .Site.Params.pagetype }}" />
<meta property="og:image" content="{{ .Site.Params.metadataCard | relURL }}">
<meta property="og:image:type" content="image/jpg">
<meta property="og:url" content="{{ .Site.BaseURL }}">

View file

@ -10,6 +10,7 @@ i[class^="ai-"]:before, i[class*=" ai-"]:before {
font-style: normal;
font-weight: normal !important;
font-variant: normal;
font-display: swap;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;

View file

@ -11,8 +11,6 @@ User-agent: PerplexityBot
Disallow: /
User-agent: anthropic-ai
Disallow: /
User-agent: Claude-Web
Disallow: /
User-agent: ClaudeBot
Disallow: /

View file

@ -20,7 +20,7 @@ body{
--secondary: #2980b9;
--background: #181818;
--color: #f8f8f8;
--font: "Source Sans 3", sans-serif;
--font: "Source Sans 3", Arial, Helvetica, sans-serif;
--border: 2px solid var(--color);
--borderPrimary: 2px solid var(--primary);
--baseRadius: 12px;
@ -268,7 +268,7 @@ nav.small .nav-links a:last-child:focus{
}
.hero h1{
margin: 30px 20px 0;
margin: 60px 20px 0;
font-size: 6rem;
transition: var(--baseTransition);
letter-spacing: -0.6rem;