feat(IFK-11): migrate from Congo to HugoBlox with custom layouts
All checks were successful
Deploy Internet for Kids / Build & Push (push) Successful in 12s
Deploy Internet for Kids / Deploy (push) Successful in 5s
Deploy Internet for Kids / Health Check (push) Successful in 2s
Deploy Internet for Kids / Smoke Tests (push) Successful in 3s
Deploy Internet for Kids / IndexNow Ping (push) Successful in 9s
Deploy Internet for Kids / Promote to Latest (push) Successful in 2s
Deploy Internet for Kids / Rollback (push) Has been skipped
Deploy Internet for Kids / Audit (push) Successful in 2s
All checks were successful
Deploy Internet for Kids / Build & Push (push) Successful in 12s
Deploy Internet for Kids / Deploy (push) Successful in 5s
Deploy Internet for Kids / Health Check (push) Successful in 2s
Deploy Internet for Kids / Smoke Tests (push) Successful in 3s
Deploy Internet for Kids / IndexNow Ping (push) Successful in 9s
Deploy Internet for Kids / Promote to Latest (push) Successful in 2s
Deploy Internet for Kids / Rollback (push) Has been skipped
Deploy Internet for Kids / Audit (push) Successful in 2s
- Remove Congo theme submodule, add Hugo modules (blox-core) - Custom baseof/single/home/list layouts (no Tailwind build needed) - Newsreader serif font preserved throughout - Agiliton lime/emerald brand colors - All 7 shortcodes preserved (world-map, charts, stats, etc.) - Multilingual EN/DE/FR with i18n files - Self-hosted fonts, no external CSS dependencies - Wide content layout, clean research-publication aesthetic Reference: metaconscious.org, matteocourthoud.github.io Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
30
layouts/_default/home.html
Normal file
30
layouts/_default/home.html
Normal file
@@ -0,0 +1,30 @@
|
||||
{{ define "main" }}
|
||||
<article class="prose max-w-3xl mx-auto py-12 px-4">
|
||||
{{ .Content }}
|
||||
|
||||
<div class="mt-12">
|
||||
<h2>{{ i18n "recent_posts" | default "Recent Articles" }}</h2>
|
||||
<div class="grid gap-8">
|
||||
{{ range first 5 .Site.RegularPages }}
|
||||
<article class="border-b pb-8">
|
||||
<h3 class="text-2xl font-newsreader mb-2">
|
||||
<a href="{{ .Permalink }}" class="text-ifk-accent hover:text-ifk-accent-hover">
|
||||
{{ .Title }}
|
||||
</a>
|
||||
</h3>
|
||||
<div class="text-sm text-gray-600 mb-4">
|
||||
<time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "January 2, 2006" }}</time>
|
||||
{{ with .Params.author }}— {{ . }}{{ end }}
|
||||
</div>
|
||||
<p class="text-lg font-newsreader leading-relaxed">
|
||||
{{ .Summary }}
|
||||
</p>
|
||||
<a href="{{ .Permalink }}" class="inline-block mt-4 text-ifk-accent hover:text-ifk-accent-hover font-medium">
|
||||
{{ i18n "read_more" | default "Read more" }} →
|
||||
</a>
|
||||
</article>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user