furtka/website/layouts/partials
Daniel Maksymilian Syrnicki 722dac4843
Some checks failed
CI / lint (push) Failing after 29s
CI / validate-json (push) Successful in 23s
CI / markdown-links (push) Successful in 14s
Deploy site / deploy (push) Successful in 4s
CI / test (push) Successful in 1m29s
feat(website): randomise which logo comes first on /logo/ per visit
Hugo sorts map keys, so `range (dict "m" … "r" …)` always put M first
and gave it the "first thing on the page" vote. The template now ranges
over an ordered list (front-matter `order:` can pin it), and a tiny
inline script on poll pages coin-flips the visual order before first
paint, applied via CSS `order` on every M/R pair and remembered in
sessionStorage so a reload or a vote doesn't shuffle the page.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y8kPxizsExc95ZhvfJmaCw
2026-08-27 12:43:46 +02:00
..
footer.html feat(website): legal pages (Impressum/Datenschutz) + auto-deploy on push-to-main 2026-04-18 12:10:06 +02:00
gate.html feat: publish public website at furtka.org 2026-04-14 10:27:51 +02:00
head.html feat(website): randomise which logo comes first on /logo/ per visit 2026-08-27 12:43:46 +02:00
header.html feat: publish public website at furtka.org 2026-04-14 10:27:51 +02:00
lang-switcher.html feat: publish public website at furtka.org 2026-04-14 10:27:51 +02:00
mark-m.html feat(website): logo poll at /logo/ with cookie-free vote counter 2026-08-26 12:57:23 +02:00
mark-r.html feat(website): logo poll at /logo/ with cookie-free vote counter 2026-08-26 12:57:23 +02:00
scripts.html feat(site): pimp homepage with animated 3D background and scroll reveals 2026-04-27 16:14:21 +02:00