"Was gerade läuft"-Aktionen-Teaser von der Startseite entfernt

Nutzer-Wunsch 21.08.2026: Überschrift + Button "Alle Aktionen & Projekte"
auf index.html weg. data-aktionen.js-Script-Tag (nur noch dafür gebraucht)
und die zugehörigen JS-Renderzeilen ebenfalls entfernt, dazugehörige
i18n-Keys (idx_aktionen_h2/idx_aktionen_btn) aus i18n-index.js aufgeräumt.
aktion-detail.html und data-aktionen.js selbst bleiben unangetastet.

Cache-Busting-Version auf 20260821h erhöht.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
This commit is contained in:
2026-08-21 02:04:43 +02:00
co-authored by Claude Sonnet 5
parent ca5793e79f
commit fbd11b7be4
36 changed files with 239 additions and 268 deletions
+12 -33
View File
@@ -19,10 +19,10 @@
<meta name="twitter:description" content="DOGFATHER UNIVERSE: die Heimat von DogFather als Streamer, der HasiDog-Community und Manager DogFather bei Spicy Media." />
<meta name="twitter:image" content="https://dogfather-universe.com/assets/img/og-cover.jpg" />
<link rel="stylesheet" href="assets/css/main.css?v=20260821g" />
<link rel="stylesheet" href="assets/css/theme-dogfather.css?v=20260821g" />
<link rel="stylesheet" href="assets/css/theme-hasidog.css?v=20260821g" />
<link rel="stylesheet" href="assets/css/theme-spicymedia.css?v=20260821g" />
<link rel="stylesheet" href="assets/css/main.css?v=20260821h" />
<link rel="stylesheet" href="assets/css/theme-dogfather.css?v=20260821h" />
<link rel="stylesheet" href="assets/css/theme-hasidog.css?v=20260821h" />
<link rel="stylesheet" href="assets/css/theme-spicymedia.css?v=20260821h" />
</head>
<body class="start-seite">
<div id="site-header"></div>
@@ -235,16 +235,10 @@
</div>
</section>
<!-- ================= AKTIONEN TEASER ================= -->
<section>
<div class="container">
<h2 class="text-center" data-i18n="idx_aktionen_h2">Was gerade läuft</h2>
<div id="aktionen-teaser" class="grid grid-3"></div>
<div class="btn-row" style="justify-content:center;">
<a class="btn btn-outline" href="medien-dogfather.html#events" data-i18n="idx_aktionen_btn">Alle Aktionen &amp; Projekte</a>
</div>
</div>
</section>
<!-- Nutzer-Wunsch 21.08.2026: der "Was gerade läuft"-Aktionen-Teaser
(Überschrift + Button "Alle Aktionen & Projekte", direkt hier davor)
wurde entfernt. data-aktionen.js/aktion-detail.html bleiben unangetastet,
nur die Startseiten-Vorschau ist weg. -->
<!-- ================= GALERIE TEASER ================= -->
<section class="section-tight">
@@ -293,11 +287,10 @@
</main>
<div id="site-footer"></div>
<script src="assets/js/data-modis.js?v=20260821g"></script>
<script src="assets/js/data-scouts.js?v=20260821g"></script>
<script src="assets/js/data-aktionen.js?v=20260821g"></script>
<script src="assets/js/i18n-index.js?v=20260821g"></script>
<script src="assets/js/main.js?v=20260821g"></script>
<script src="assets/js/data-modis.js?v=20260821h"></script>
<script src="assets/js/data-scouts.js?v=20260821h"></script>
<script src="assets/js/i18n-index.js?v=20260821h"></script>
<script src="assets/js/main.js?v=20260821h"></script>
<script>
// Gleiche URL wie in assets/js/forms.js / postfach.html — läuft seit
// 05.08.2026 auf dem eigenen Server statt auf Cloudflare Workers.
@@ -518,20 +511,6 @@ document.addEventListener("DOMContentLoaded", () => {
document.addEventListener("dogi-sprache-geaendert", renderTeamPreview);
}
// Aktionen-Teaser: die ersten 3 Einträge aus data-aktionen.js
const aktionenTeaser = document.getElementById("aktionen-teaser");
if (aktionenTeaser && window.AKTIONEN) {
aktionenTeaser.innerHTML = window.AKTIONEN.slice(0, 3)
.map(
(a) => `
<a class="card" href="aktion-detail.html?id=${a.id}">
<span class="tag">${a.tag} · ${a.status}</span>
<h3>${a.title}</h3>
<p>${a.summary}</p>
</a>`
)
.join("");
}
});
</script>
</body>