moonweb hub seo

This commit is contained in:
2026-08-18 08:26:25 +02:00
parent daa6a3a199
commit c3623c4f87
2 changed files with 9 additions and 6 deletions
+3 -2
View File
@@ -1,8 +1,9 @@
--- ---
title: "Home" title: "moonweb — Homelab, Smart Home, Code & Retro Hardware"
section: "hub" section: "hub"
description: "moonweb.org — my personal homelab: smarthome, infrastructure, code, and retro hardware." description: "Stefan Koelle's homelab: smart home automation, Proxmox infrastructure, open-source code projects, and retro hardware. Senior Software Developer based in Munich."
layout: base.njk layout: base.njk
ogImage: "/stefan-koelle-foto.jpg"
sections: sections:
- heading: "Homelab sites" - heading: "Homelab sites"
cards: cards:
+6 -4
View File
@@ -3,18 +3,20 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ title }} · moonweb.org</title> <title>{{ title }}{% if 'moonweb' not in title %} · moonweb.org{% endif %}</title>
<meta name="description" content="{{ description }}"> <meta name="description" content="{{ description }}">
<meta name="author" content="Stefan Koelle"> <meta name="author" content="Stefan Koelle">
<meta name="theme-color" content="{% if section == 'hub' %}#3b6ea5{% elif section == 'infra' %}#99333A{% elif section == 'smarthome' %}#1f8a8a{% elif section == 'code' %}#3E5098{% elif section == 'retro' %}#8a6d3b{% else %}#3b6ea5{% endif %}"> <meta name="theme-color" content="{% if section == 'hub' %}#3b6ea5{% elif section == 'infra' %}#99333A{% elif section == 'smarthome' %}#1f8a8a{% elif section == 'code' %}#3E5098{% elif section == 'retro' %}#8a6d3b{% else %}#3b6ea5{% endif %}">
<link rel="canonical" href="{{ site.url }}{{ page.url }}"> <link rel="canonical" href="{{ site.url }}{{ page.url }}">
<meta property="og:title" content="{{ title }} · moonweb.org"> <meta property="og:title" content="{{ title }}{% if 'moonweb' not in title %} · moonweb.org{% endif %}">
<meta property="og:description" content="{{ description }}"> <meta property="og:description" content="{{ description }}">
{% if ogImage %}<meta property="og:image" content="{{ site.url }}{{ ogImage }}">{% endif %}
<meta property="og:url" content="{{ site.url }}{{ page.url }}"> <meta property="og:url" content="{{ site.url }}{{ page.url }}">
<meta property="og:type" content="{% if parent %}article{% else %}website{% endif %}"> <meta property="og:type" content="{% if parent %}article{% else %}website{% endif %}">
<meta name="twitter:card" content="summary"> <meta name="twitter:card" content="summary">
<meta name="twitter:title" content="{{ title }} · moonweb.org"> <meta name="twitter:title" content="{{ title }}">
<meta name="twitter:description" content="{{ description }}"> <meta name="twitter:description" content="{{ description }}">
{% if ogImage %}<meta name="twitter:image" content="{{ site.url }}{{ ogImage }}">{% endif %}
<link rel="icon" href="/favicon.svg" type="image/svg+xml"> <link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
@@ -31,7 +33,7 @@
{ "@type": "ListItem", "position": 2, "name": "{{ title }}", "item": "{{ site.url }}{{ page.url }}" } { "@type": "ListItem", "position": 2, "name": "{{ title }}", "item": "{{ site.url }}{{ page.url }}" }
] ]
{% else %} {% else %}
"name": "{{ title }} · moonweb.org", "name": "{{ title }}{% if 'moonweb' not in title %} · moonweb.org{% endif %}",
"url": "{{ site.url }}", "url": "{{ site.url }}",
"author": { "@type": "Person", "name": "Stefan Koelle" } "author": { "@type": "Person", "name": "Stefan Koelle" }
{% endif %} {% endif %}