mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-11-06 11:09:21 +00:00
🚚 Move homepage sponsors and contributors to example site
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 <noreply@anthropic.com>
This commit is contained in:
1 parent
3b2ea59367
commit
e50adceca0
2 files changed
+13
-4
No files matched your search
@@ -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") }}
|
||||||
|
<script defer type="text/javascript" src="{{ $jsHome.RelPermalink }}" integrity="{{ $jsHome.Data.Integrity }}"></script>
|
||||||
|
<section class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
|
||||||
|
{{ partial "sponsors.html" . }}
|
||||||
|
{{ partial "contributors.html" . }}
|
||||||
|
</section>
|
||||||
|
<section>
|
||||||
|
{{ partial "recent-articles/main.html" . }}
|
||||||
|
</section>
|
||||||
|
{{ end }}
|
||||||
@@ -11,10 +11,6 @@
|
|||||||
{{ partial "home/profile.html" . }}
|
{{ partial "home/profile.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<section class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
|
|
||||||
{{ partial "sponsors.html" . }}
|
|
||||||
{{ partial "contributors.html" . }}
|
|
||||||
</section>
|
|
||||||
<section>
|
<section>
|
||||||
{{ partial "recent-articles/main.html" . }}
|
{{ partial "recent-articles/main.html" . }}
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
Reference in new issue
Block a user