mirror of
https://github.com/skoelle/moonweb-site.git
synced 2026-09-17 17:00:25 +00:00
moonweb hub seo
This commit is contained in:
+3
-2
@@ -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:
|
||||
|
||||
@@ -3,18 +3,20 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<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="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 %}">
|
||||
<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 }}">
|
||||
{% if ogImage %}<meta property="og:image" content="{{ site.url }}{{ ogImage }}">{% endif %}
|
||||
<meta property="og:url" content="{{ site.url }}{{ page.url }}">
|
||||
<meta property="og:type" content="{% if parent %}article{% else %}website{% endif %}">
|
||||
<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 }}">
|
||||
{% if ogImage %}<meta name="twitter:image" content="{{ site.url }}{{ ogImage }}">{% endif %}
|
||||
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user