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" slug: "selfmade-website"
--- ---

145
hugo.toml
View file

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

View file

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}"> <html lang="{{ .Site.LanguageCode }}">
<head> <head>
<meta charset="UTF-8">
<title>{{ .Site.Title }}</title> <title>{{ .Site.Title }}</title>
<meta name="mobile-web-app-title" content="{{ .Site.Title }}"> <meta name="mobile-web-app-title" content="{{ .Site.Title }}">
<meta name="apple-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="180x180" href="{{ .Site.Params.faviconPath | relURL }}">
<link rel="apple-touch-icon" sizes="167x167" href="{{ .Site.Params.faviconPath | relURL }}"> <link rel="apple-touch-icon" sizes="167x167" href="{{ .Site.Params.faviconPath | relURL }}">
<link rel="canonical" href="{{ .Site.BaseURL }}"> <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> <script src='{{ "/main.js" | absURL }}' defer></script>
<link rel="stylesheet" type="text/css" href='{{ "/style.css" | absURL }}' media="screen"/> <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="description" content="{{ .Site.Params.description }}">
<meta name="keywords" content='{{ delimit site.Params.keywords ", " }}'> <meta name="keywords" content='{{ delimit site.Params.keywords ", " }}'>
<meta name="author" content="{{ .Site.Params.author }}"> <meta name="author" content="{{ .Site.Params.author }}">
@ -24,6 +24,7 @@
<meta property="og:title" content="{{ .Site.Params.author }}"> <meta property="og:title" content="{{ .Site.Params.author }}">
<meta property="og:description" content="{{ .Site.Params.description }}"> <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" content="{{ .Site.Params.metadataCard | relURL }}">
<meta property="og:image:type" content="image/jpg"> <meta property="og:image:type" content="image/jpg">
<meta property="og:url" content="{{ .Site.BaseURL }}"> <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-style: normal;
font-weight: normal !important; font-weight: normal !important;
font-variant: normal; font-variant: normal;
font-display: swap;
text-transform: none; text-transform: none;
line-height: 1; line-height: 1;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;

View file

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

View file

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