@@ -7607,7 +7624,7 @@
+
Riksdagsmonitor
· Built by Hack23 AB -Last updated:
+Last updated:
Additional Resources
diff --git a/political-intelligence_ar.html b/political-intelligence_ar.html index d99fac626..fdb0bb52f 100644 --- a/political-intelligence_ar.html +++ b/political-intelligence_ar.html @@ -66,7 +66,7 @@ - + @@ -247,6 +247,7 @@
@@ -7607,7 +7624,7 @@
+
Riksdagsmonitor
· Built by Hack23 AB -Last updated:
+Last updated:
موارد إضافية
diff --git a/political-intelligence_da.html b/political-intelligence_da.html index 95acc7df4..f03ff2b02 100644 --- a/political-intelligence_da.html +++ b/political-intelligence_da.html @@ -66,7 +66,7 @@ - + @@ -247,6 +247,7 @@
@@ -7607,7 +7624,7 @@
+
Riksdagsmonitor
· Built by Hack23 AB -Last updated:
+Last updated:
Yderligere ressourcer
diff --git a/political-intelligence_de.html b/political-intelligence_de.html index ad288b09c..aa52797cc 100644 --- a/political-intelligence_de.html +++ b/political-intelligence_de.html @@ -66,7 +66,7 @@ - + @@ -247,6 +247,7 @@
@@ -7607,7 +7624,7 @@
+
Riksdagsmonitor
· Built by Hack23 AB -Last updated:
+Last updated:
Weitere Ressourcen
diff --git a/political-intelligence_es.html b/political-intelligence_es.html index a35a0be38..fc2f1306e 100644 --- a/political-intelligence_es.html +++ b/political-intelligence_es.html @@ -66,7 +66,7 @@ - + @@ -247,6 +247,7 @@
@@ -7607,7 +7624,7 @@
+
Riksdagsmonitor
· Built by Hack23 AB -Last updated:
+Last updated:
Recursos adicionales
diff --git a/political-intelligence_fi.html b/political-intelligence_fi.html index d69699819..a6912ea9f 100644 --- a/political-intelligence_fi.html +++ b/political-intelligence_fi.html @@ -66,7 +66,7 @@ - + @@ -247,6 +247,7 @@
@@ -7607,7 +7624,7 @@
+
Riksdagsmonitor
· Built by Hack23 AB -Last updated:
+Last updated:
Lisäresurssit
diff --git a/political-intelligence_fr.html b/political-intelligence_fr.html index c82f59eed..0757b1299 100644 --- a/political-intelligence_fr.html +++ b/political-intelligence_fr.html @@ -66,7 +66,7 @@ - + @@ -247,6 +247,7 @@
@@ -7607,7 +7624,7 @@
+
Riksdagsmonitor
· Built by Hack23 AB -Last updated:
+Last updated:
Ressources supplémentaires
diff --git a/political-intelligence_he.html b/political-intelligence_he.html index 49959bdc7..3119e75bc 100644 --- a/political-intelligence_he.html +++ b/political-intelligence_he.html @@ -66,7 +66,7 @@ - + @@ -247,6 +247,7 @@
@@ -7607,7 +7624,7 @@
+
Riksdagsmonitor
· Built by Hack23 AB -Last updated:
+Last updated:
משאבים נוספים
diff --git a/political-intelligence_ja.html b/political-intelligence_ja.html index 3f8dc4953..51b4fe2fd 100644 --- a/political-intelligence_ja.html +++ b/political-intelligence_ja.html @@ -66,7 +66,7 @@ - + @@ -247,6 +247,7 @@
@@ -7607,7 +7624,7 @@
+
Riksdagsmonitor
· Built by Hack23 AB -Last updated:
+Last updated:
追加リソース
diff --git a/political-intelligence_ko.html b/political-intelligence_ko.html index b329e1f4f..443d4e013 100644 --- a/political-intelligence_ko.html +++ b/political-intelligence_ko.html @@ -66,7 +66,7 @@ - + @@ -247,6 +247,7 @@
@@ -7607,7 +7624,7 @@
+
Riksdagsmonitor
· Built by Hack23 AB -Last updated:
+Last updated:
추가 리소스
diff --git a/political-intelligence_nl.html b/political-intelligence_nl.html index 90aa83688..d277816fc 100644 --- a/political-intelligence_nl.html +++ b/political-intelligence_nl.html @@ -66,7 +66,7 @@ - + @@ -247,6 +247,7 @@
@@ -7607,7 +7624,7 @@
+
Riksdagsmonitor
· Built by Hack23 AB -Last updated:
+Last updated:
Aanvullende bronnen
diff --git a/political-intelligence_no.html b/political-intelligence_no.html index 8e8c59f95..95e6525d4 100644 --- a/political-intelligence_no.html +++ b/political-intelligence_no.html @@ -66,7 +66,7 @@ - + @@ -247,6 +247,7 @@
@@ -7607,7 +7624,7 @@
+
Riksdagsmonitor
· Built by Hack23 AB -Last updated:
+Last updated:
Ytterligere ressurser
diff --git a/political-intelligence_sv.html b/political-intelligence_sv.html index 8f6fff14a..151ca8533 100644 --- a/political-intelligence_sv.html +++ b/political-intelligence_sv.html @@ -66,7 +66,7 @@ - + @@ -247,6 +247,7 @@
@@ -7607,7 +7624,7 @@
+
Riksdagsmonitor
· Built by Hack23 AB -Last updated:
+Last updated:
Ytterligare resurser
diff --git a/political-intelligence_zh.html b/political-intelligence_zh.html index c193c30d4..9bd0b39e2 100644 --- a/political-intelligence_zh.html +++ b/political-intelligence_zh.html @@ -66,7 +66,7 @@ - + @@ -247,6 +247,7 @@
@@ -7607,7 +7624,7 @@
+
Riksdagsmonitor
· Built by Hack23 AB -Last updated:
+Last updated:
附加资源
diff --git a/scripts/generate-news-indexes/template.ts b/scripts/generate-news-indexes/template.ts index 4b4fd2352..e01a467cf 100644 --- a/scripts/generate-news-indexes/template.ts +++ b/scripts/generate-news-indexes/template.ts @@ -172,6 +172,11 @@ export function generateIndexHTML( jsonLd, extraHead, extraStyle, + // Opt back into the legacy colour-coded `.news-page .article-card` palette + // (≈300 LOC starting at `body.news-page` in `styles.css`). Without this + // class the `rm-article-body` chrome bypassed the news-index visual + // language entirely (see issue #2012-regression). + bodyClass: 'news-page', }); // News-index body — preserves the rich filter bar, articles grid, JS, @@ -327,11 +332,13 @@ ${needsLanguageNotice ? generateLanguageNotice(langKey) : ''} availableDisplay = \`\${AVAILABLE_IN_TEXT}: \${availableBadges}
\`; } + const primaryTopic = (article.topics && article.topics.length > 0) ? article.topics[0] : ''; + return \` -