changes.txt #6: sync homepage "Latest news" from the News hub

Add tools/build_listings.py: copies the top 3 cards from each language's News
hub into the homepage "Latest news" block (marker-wrapped), so editing the News
page now updates the homepage. The News hub stays the hand-edited source of truth
(it may hold curated teaser cards without a detail page).

Also: fix the Gallery meta description (was a copy of the FAQ text) and add a
durable gallery override to seo_inject.py; refresh llms.txt / links-for-bots.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
popovskikandClaude Opus 4.8 committed 2026-08-05 16:20:55 +02:00
1 parent c14a227ac7
commit 195a48205c
10 files changed
+104 -13

No files matched your search

+2
View File
@@ -310,6 +310,7 @@
<p>Kaj je novega pri MSOS, od dogodkov in projektov do blog zgodb in obvestil.</p>
</div>
<div class="news-articles">
<!-- AUTO-LATEST-NEWS:START (generated from si/news/ by tools/build_listings.py — edit the News page, not here) -->
<article class="news-card" data-type="news">
<a class="news-card-media" href="../si/news/proof-of-means-updated-2026/">
<img width="1600" height="1067" src="../images/news-proof-of-means.webp" alt="Znesek dokazila o sredstvih posodobljen na 507,43 € na mesec" loading="lazy">
@@ -340,6 +341,7 @@
<h3><a href="../si/news/">Pridruži se tednu dobrodošlice za nove študente</a></h3>
</div>
</article>
<!-- AUTO-LATEST-NEWS:END -->
</div>
<a href="../si/news/" class="btn btn-secondary">Poglej vse</a>
</section>