From e50adceca08b4e161123e54f6a046f7f9c1fb6fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?= Date: Mon, 27 Jul 2026 17:03:52 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=9A=20Move=20homepage=20sponsors=20and?= =?UTF-8?q?=20contributors=20to=20example=20site?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The theme homepage no longer renders blowfish.page's sponsor and contributor sections; the example site overrides index.html instead, so user sites don't inherit the theme repo's data files. Co-Authored-By: Claude Fable 5 --- exampleSite/layouts/index.html | 13 +++++++++++++ layouts/index.html | 4 ---- 2 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 exampleSite/layouts/index.html diff --git a/exampleSite/layouts/index.html b/exampleSite/layouts/index.html new file mode 100644 index 00000000..a6391b00 --- /dev/null +++ b/exampleSite/layouts/index.html @@ -0,0 +1,13 @@ +{{/* blowfish.page homepage: theme layout switcher plus site-specific sponsors and contributors. */}} +{{ define "main" }} + {{ partial "home/layout-switcher.html" . }} + {{ $jsHome := resources.Get "js/home.js" | resources.Minify | resources.Fingerprint (.Site.Params.fingerprintAlgorithm | default "sha512") }} + +
+ {{ partial "sponsors.html" . }} + {{ partial "contributors.html" . }} +
+
+ {{ partial "recent-articles/main.html" . }} +
+{{ end }} diff --git a/layouts/index.html b/layouts/index.html index 265e8e1c..5389dafe 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -11,10 +11,6 @@ {{ partial "home/profile.html" . }} {{ end }} {{ end }} -
- {{ partial "sponsors.html" . }} - {{ partial "contributors.html" . }} -
{{ partial "recent-articles/main.html" . }}