From c3623c4f87d86802737f60ed681b05361268abe4 Mon Sep 17 00:00:00 2001 From: Stefan Koelle Date: Tue, 18 Aug 2026 08:26:25 +0200 Subject: [PATCH] moonweb hub seo --- hub/index.njk | 5 +++-- shared/_includes/base.njk | 10 ++++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/hub/index.njk b/hub/index.njk index e57d167..c3fe65a 100644 --- a/hub/index.njk +++ b/hub/index.njk @@ -1,8 +1,9 @@ --- -title: "Home" +title: "moonweb — Homelab, Smart Home, Code & Retro Hardware" 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 +ogImage: "/stefan-koelle-foto.jpg" sections: - heading: "Homelab sites" cards: diff --git a/shared/_includes/base.njk b/shared/_includes/base.njk index f0ca7fd..d15630a 100644 --- a/shared/_includes/base.njk +++ b/shared/_includes/base.njk @@ -3,18 +3,20 @@ - {{ title }} · moonweb.org + {{ title }}{% if 'moonweb' not in title %} · moonweb.org{% endif %} - + + {% if ogImage %}{% endif %} - + + {% if ogImage %}{% endif %} @@ -31,7 +33,7 @@ { "@type": "ListItem", "position": 2, "name": "{{ title }}", "item": "{{ site.url }}{{ page.url }}" } ] {% else %} - "name": "{{ title }} · moonweb.org", + "name": "{{ title }}{% if 'moonweb' not in title %} · moonweb.org{% endif %}", "url": "{{ site.url }}", "author": { "@type": "Person", "name": "Stefan Koelle" } {% endif %}