feat: switch to PaperMod theme, add Rybbit analytics, CI/CD deploy
- Replace ananke with PaperMod theme (git submodule) - Configure PaperMod: reading time, breadcrumbs, search, dark mode - Localize menus for EN/DE - Register internetforkids.ong in Rybbit (site ID: a0ab05916d6c) - Migrate partials from ananke _partials/ to PaperMod extend_head/footer - Set up webhook-based auto-deploy on push to main Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
[submodule "themes/PaperMod"]
|
||||||
|
path = themes/PaperMod
|
||||||
|
url = https://github.com/adityatelange/hugo-PaperMod.git
|
||||||
56
hugo.toml
56
hugo.toml
@@ -1,6 +1,6 @@
|
|||||||
baseURL = "https://internetforkids.ong/"
|
baseURL = "https://internetforkids.ong/"
|
||||||
title = "Internet for Kids"
|
title = "Internet for Kids"
|
||||||
theme = "ananke"
|
theme = "PaperMod"
|
||||||
|
|
||||||
defaultContentLanguage = "en"
|
defaultContentLanguage = "en"
|
||||||
defaultContentLanguageInSubdir = true
|
defaultContentLanguageInSubdir = true
|
||||||
@@ -26,12 +26,24 @@ enableRobotsTXT = true
|
|||||||
description = "Expert insights on child protection laws, online safety, and digital family protection worldwide."
|
description = "Expert insights on child protection laws, online safety, and digital family protection worldwide."
|
||||||
favicon = "/favicon.ico"
|
favicon = "/favicon.ico"
|
||||||
author = "Agiliton"
|
author = "Agiliton"
|
||||||
read_more_copy = "Read more"
|
ShowReadingTime = true
|
||||||
show_reading_time = true
|
ShowShareButtons = true
|
||||||
|
ShowPostNavLinks = true
|
||||||
|
ShowBreadCrumbs = true
|
||||||
|
ShowCodeCopyButtons = true
|
||||||
|
defaultTheme = "auto"
|
||||||
# Rybbit Analytics
|
# Rybbit Analytics
|
||||||
rybbit_site_id = "" # TBD: set after registering in Rybbit
|
rybbit_site_id = "a0ab05916d6c"
|
||||||
rybbit_url = "https://analytics.clicksports.de"
|
rybbit_url = "https://analytics.clicksports.de"
|
||||||
|
|
||||||
|
[params.homeInfoParams]
|
||||||
|
Title = "Protecting Kids Online"
|
||||||
|
Content = "Expert insights on child protection laws, online safety, and digital family protection worldwide."
|
||||||
|
|
||||||
|
[[params.socialIcons]]
|
||||||
|
name = "rss"
|
||||||
|
url = "/index.xml"
|
||||||
|
|
||||||
[languages]
|
[languages]
|
||||||
[languages.en]
|
[languages.en]
|
||||||
languageName = "English"
|
languageName = "English"
|
||||||
@@ -40,6 +52,24 @@ enableRobotsTXT = true
|
|||||||
contentDir = "content/en"
|
contentDir = "content/en"
|
||||||
[languages.en.params]
|
[languages.en.params]
|
||||||
description = "Expert insights on child protection laws, online safety, and digital family protection worldwide."
|
description = "Expert insights on child protection laws, online safety, and digital family protection worldwide."
|
||||||
|
[languages.en.params.homeInfoParams]
|
||||||
|
Title = "Protecting Kids Online"
|
||||||
|
Content = "Expert insights on child protection laws, online safety, and digital family protection worldwide."
|
||||||
|
[[languages.en.menus.main]]
|
||||||
|
identifier = "about"
|
||||||
|
name = "About"
|
||||||
|
url = "/about/"
|
||||||
|
weight = 2
|
||||||
|
[[languages.en.menus.main]]
|
||||||
|
identifier = "tags"
|
||||||
|
name = "Topics"
|
||||||
|
url = "/tags/"
|
||||||
|
weight = 3
|
||||||
|
[[languages.en.menus.main]]
|
||||||
|
identifier = "search"
|
||||||
|
name = "Search"
|
||||||
|
url = "/search/"
|
||||||
|
weight = 4
|
||||||
|
|
||||||
[languages.de]
|
[languages.de]
|
||||||
languageName = "Deutsch"
|
languageName = "Deutsch"
|
||||||
@@ -48,18 +78,24 @@ enableRobotsTXT = true
|
|||||||
contentDir = "content/de"
|
contentDir = "content/de"
|
||||||
[languages.de.params]
|
[languages.de.params]
|
||||||
description = "Experteneinblicke zu Kinderschutzgesetzen, Online-Sicherheit und digitalem Familienschutz weltweit."
|
description = "Experteneinblicke zu Kinderschutzgesetzen, Online-Sicherheit und digitalem Familienschutz weltweit."
|
||||||
|
[languages.de.params.homeInfoParams]
|
||||||
[menus]
|
Title = "Kinder online schützen"
|
||||||
[[menus.main]]
|
Content = "Experteneinblicke zu Kinderschutzgesetzen, Online-Sicherheit und digitalem Familienschutz weltweit."
|
||||||
|
[[languages.de.menus.main]]
|
||||||
identifier = "about"
|
identifier = "about"
|
||||||
name = "About"
|
name = "Über uns"
|
||||||
url = "/about/"
|
url = "/about/"
|
||||||
weight = 2
|
weight = 2
|
||||||
[[menus.main]]
|
[[languages.de.menus.main]]
|
||||||
identifier = "tags"
|
identifier = "tags"
|
||||||
name = "Topics"
|
name = "Themen"
|
||||||
url = "/tags/"
|
url = "/tags/"
|
||||||
weight = 3
|
weight = 3
|
||||||
|
[[languages.de.menus.main]]
|
||||||
|
identifier = "search"
|
||||||
|
name = "Suche"
|
||||||
|
url = "/search/"
|
||||||
|
weight = 4
|
||||||
|
|
||||||
[taxonomies]
|
[taxonomies]
|
||||||
tag = "tags"
|
tag = "tags"
|
||||||
|
|||||||
@@ -13,13 +13,9 @@
|
|||||||
<link rel="canonical" href="{{ .Permalink }}" />
|
<link rel="canonical" href="{{ .Permalink }}" />
|
||||||
|
|
||||||
{{/* AI Search Engine Optimization */}}
|
{{/* AI Search Engine Optimization */}}
|
||||||
{{/* Allow all AI crawlers — maximize discoverability */}}
|
|
||||||
<meta name="robots" content="index, follow, max-snippet:-1, max-image-preview:large" />
|
<meta name="robots" content="index, follow, max-snippet:-1, max-image-preview:large" />
|
||||||
|
|
||||||
{{/* Explicit AI crawler permissions */}}
|
|
||||||
<meta name="googlebot" content="index, follow" />
|
<meta name="googlebot" content="index, follow" />
|
||||||
|
|
||||||
{{/* Clear, machine-parseable description for AI summarization */}}
|
|
||||||
{{ if .IsPage }}
|
{{ if .IsPage }}
|
||||||
<meta name="topic" content="{{ .Title }}" />
|
<meta name="topic" content="{{ .Title }}" />
|
||||||
<meta name="subject" content="{{ .Description | default .Summary | plainify | truncate 160 }}" />
|
<meta name="subject" content="{{ .Description | default .Summary | plainify | truncate 160 }}" />
|
||||||
Submodule themes/PaperMod updated: de1169ec32...10d3dcc0e0
Submodule themes/ananke deleted from a5f3dd61ce
Reference in New Issue
Block a user