From ace7e26c154ad221a9f6d8f5f98abd432045ffdc Mon Sep 17 00:00:00 2001
From: squid
Date: Sat, 14 Nov 2026 19:54:57 +0100
Subject: [PATCH] feat: shop panel at the top of the services page and a footer
link
Add a short note panel at the start of the services page that points to the
Shop subsection, and a Shop (external site) link in the footer of every page
in all five languages. The footer label says the site is external.
---
lang/de.json | 1 +
lang/en.json | 3 +++
lang/es.json | 1 +
lang/fr.json | 1 +
lang/it.json | 3 +++
templates/footer.html | 2 ++
templates/pages/services.html | 6 ++++++
7 files changed, 17 insertions(+)
diff --git a/lang/de.json b/lang/de.json
index d866c01..4a69c6f 100644
--- a/lang/de.json
+++ b/lang/de.json
@@ -5,6 +5,7 @@
"home_link": "/?lang=en",
"sections": "Bereiche",
"nojs": "Diese Seite verwendet kein JavaScript, keine Cookies und keine Tracker.",
+ "shop_footer": "Shop (externe Seite)",
"back": "kmalloc.org",
"version": "Version",
"toc": "Inhalt",
diff --git a/lang/en.json b/lang/en.json
index 36d9a95..2660dcb 100644
--- a/lang/en.json
+++ b/lang/en.json
@@ -5,6 +5,7 @@
"home_link": "/?lang=en",
"sections": "Sections",
"nojs": "This page uses no JavaScript, cookies or trackers.",
+ "shop_footer": "Shop (external site)",
"back": "home",
"version": "Version",
"toc": "Contents",
@@ -204,6 +205,8 @@
"funding_p1": "The server costs EUR 37.50 a month. Today squid pays for it.",
"funding_p2": "Donations help keep it running. They give no say in decisions. Bitcoin address:",
"shop_h": "Shop",
+ "shop_panel_p": "T-shirts, mugs and other items with the kmalloc.org logos help support the project. The proceeds go to the project costs.",
+ "shop_panel_a": "How it works and where to buy",
"shop_p1": "A shop sells t-shirts, mugs and other items with the kmalloc.org logos. It is there to help support the project and to make it known. The proceeds go to the project costs: about a quarter of the price you pay reaches the project, the rest covers production, shipping, taxes and the platform. It ships to most countries. A purchase, like a donation, gives no say in decisions, and the services stay free of charge either way.",
"shop_p2": "The shop is run by Spreadshop, a commercial platform, not by us: it sets its own cookies and handles payment and your personal data under its own rules. What this site promises about privacy does not apply there.",
"shop_a": "open the shop on Spreadshop, outside kmalloc.org"
diff --git a/lang/es.json b/lang/es.json
index 7e3cbb8..99e567b 100644
--- a/lang/es.json
+++ b/lang/es.json
@@ -5,6 +5,7 @@
"home_link": "/?lang=en",
"sections": "Secciones",
"nojs": "Esta página no usa JavaScript, cookies ni rastreadores.",
+ "shop_footer": "Tienda (sitio externo)",
"back": "kmalloc.org",
"version": "Versión",
"toc": "Índice",
diff --git a/lang/fr.json b/lang/fr.json
index 807dbed..188ce03 100644
--- a/lang/fr.json
+++ b/lang/fr.json
@@ -5,6 +5,7 @@
"home_link": "/?lang=en",
"sections": "Sections",
"nojs": "Cette page n'utilise ni JavaScript, ni cookies, ni traceurs.",
+ "shop_footer": "Boutique (site externe)",
"back": "kmalloc.org",
"version": "Version",
"toc": "Sommaire",
diff --git a/lang/it.json b/lang/it.json
index 015a54f..f1fc77e 100644
--- a/lang/it.json
+++ b/lang/it.json
@@ -5,6 +5,7 @@
"home_link": "/it/",
"sections": "Sezioni",
"nojs": "Questa pagina non usa JavaScript, cookie né tracker.",
+ "shop_footer": "Negozio (sito esterno)",
"back": "home",
"version": "Versione",
"toc": "Indice",
@@ -207,6 +208,8 @@
"funding_p1": "Il server costa 37,50 euro al mese. Oggi lo paga squid.",
"funding_p2": "Le donazioni aiutano a tenerlo acceso. Non danno potere decisionale. Indirizzo Bitcoin:",
"shop_h": "Negozio",
+ "shop_panel_p": "Magliette, tazze e altri oggetti con i loghi di kmalloc.org aiutano a sostenere il progetto. Il ricavato va ai costi del progetto.",
+ "shop_panel_a": "Come funziona e dove comprare",
"shop_p1": "C'è un negozio con magliette, tazze e altri oggetti con i loghi di kmalloc.org: serve a sostenere il progetto e a farlo conoscere. Il ricavato va ai costi del progetto: circa un quarto del prezzo che paghi arriva al progetto, il resto copre produzione, spedizione, tasse e piattaforma. Spedisce nella maggior parte dei paesi. Un acquisto, come una donazione, non dà potere decisionale, e i servizi restano gratuiti in ogni caso.",
"shop_p2": "Il negozio è gestito da Spreadshop, una piattaforma commerciale, non da noi: imposta i propri cookie e gestisce il pagamento e i tuoi dati personali con le proprie regole. Quello che questo sito promette sulla privacy lì non vale.",
"shop_a": "apri il negozio su Spreadshop, fuori da kmalloc.org"
diff --git a/templates/footer.html b/templates/footer.html
index cf119b3..8dde8c6 100644
--- a/templates/footer.html
+++ b/templates/footer.html
@@ -6,6 +6,8 @@
{{history_a}}
·
+{{shop_footer}}
+·
{{license_text}} CC BY-SA 4.0.
{{badges}}
diff --git a/templates/pages/services.html b/templates/pages/services.html
index 065e1b9..1485a31 100644
--- a/templates/pages/services.html
+++ b/templates/pages/services.html
@@ -4,6 +4,12 @@
{{intro}}
+
+{{shop_h}}.
+{{shop_panel_p}}
+{{shop_panel_a}}.
+
+
{{on_page}}