Files
kst4contest/website/src/_layouts/feature.njk
T

76 lines
1.8 KiB
Plaintext

---
layout: base.njk
lang: en
---
<section class="hero">
<p class="eyebrow">{{ category }} · available since {{ since }}</p>
<h1>{{ title }}</h1>
<p class="lead">{{ summary }}</p>
<div class="actions">
<a class="button secondary" href="/features/">← All functions</a>
<a class="button ghost" href="/manual/en/">Open the manual</a>
</div>
</section>
<section class="section narrow">
<article class="card content-card">
<div class="feature-icon large" aria-hidden="true">{{ icon }}</div>
{{ content | safe }}
{% if related %}
<h2>Related functions</h2>
<div class="actions">
{% for slug in related %}
{% for item in collections.sortedFeatures %}
{% if item.fileSlug == slug %}
<a class="button secondary" href="{{ item.url }}">
{{ item.data.title }}
</a>
{% endif %}
{% endfor %}
{% endfor %}
</div>
{% endif %}
<p>
<a href="/features/">← Back to all functions</a>
</p>
</article>
</section>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "TechArticle",
"headline": "{{ title }}",
"description": "{{ summary }}",
{% if tagsList %}
"keywords": "{{ tagsList | join(', ') }}",
{% endif %}
"about": {
"@type": "SoftwareApplication",
"name": "KST4Contest",
"url": "https://kst4contest.hamradioonline.de/"
},
"url": "https://kst4contest.hamradioonline.de{{ page.url }}",
"author": [
{
"@type": "Person",
"name": "Marc Fröhlich (DO5AMF)"
},
{
"@type": "Person",
"name": "Philipp (DN9APW)"
}
],
"publisher": {
"@type": "Organization",
"name": "KST4Contest Project",
"url": "https://kst4contest.hamradioonline.de/"
}
}
</script>