Add Markdown-based news content model

This commit is contained in:
Marc Froehlich
2026-07-07 00:51:36 +02:00
parent 67b91a766a
commit 6d1e08711a
44 changed files with 192 additions and 58 deletions
+15
View File
@@ -0,0 +1,15 @@
---
layout: base.njk
---
<section class="hero">
<p class="badge">News · {{ date | readableDate }}</p>
<h1>{{ title }}</h1>
<p class="lead">{{ summary }}</p>
</section>
<section class="section narrow">
<article class="card content-card">
{{ content | safe }}
</article>
</section>
@@ -0,0 +1,17 @@
---
title: KST4Contest Website Launch
summary: The new KST4Contest website is being built as a static, SEO-friendly product portal with GitHub-based documentation.
date: 2026-07-07
---
## A new home for KST4Contest
KST4Contest now has its own website at `kst4contest.hamradioonline.de`.
The site is built with Eleventy, generated from version-controlled Markdown and deployed as a fast static website.
## Why this matters
The goal is to make KST4Contest easier to discover, easier to document and easier to maintain.
Documentation, release information, feature pages and future updates can now grow from a shared content model.
+14 -9
View File
@@ -2,21 +2,26 @@
layout: base.njk
title: KST4Contest News
description: News, release updates and development notes for KST4Contest.
eleventyExcludeFromCollections: true
---
<section class="hero">
<h1>News</h1>
<p>
Release notes, development updates and contest workflow improvements.
<p class="badge">News</p>
<h1>Development updates and release notes.</h1>
<p class="lead">
Updates about KST4Contest releases, website improvements and contest workflow development.
</p>
</section>
<section class="section">
<div class="card">
<h2>Website launch</h2>
<p>
The new KST4Contest website is being built as a static, SEO-friendly product site
with GitHub-based documentation and automated deployment.
</p>
<div class="grid">
{% for post in collections.news | reverse %}
<article class="card">
<p class="eyebrow">{{ post.date | readableDate }}</p>
<h3><a href="{{ post.url }}">{{ post.data.title }}</a></h3>
<p>{{ post.data.summary }}</p>
<a href="{{ post.url }}">Read more →</a>
</article>
{% endfor %}
</div>
</section>
+4
View File
@@ -0,0 +1,4 @@
{
"layout": "news-post.njk",
"tags": "news"
}