d5be32d304
Fixed links in templates to point to gitea
35 lines
1.1 KiB
HTML
35 lines
1.1 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<p class="subtitle"><strong>Welcome Travellers!</strong></p>
|
|
Welcome to HitchHiker Linux, a small distribution that makes few assumptions on
|
|
end use and strives to remain faithful to the traditional Unix way. For more
|
|
information please visit the <a href="/about/">About</a> page, or feel free to
|
|
check out the <a href="/handbook/">Documentation</a>.
|
|
<hr>
|
|
<p class="subtitle"><strong>Site News</strong></p>
|
|
{% set site_news = get_section(path="news/_index.md")
|
|
| get(key="pages")
|
|
| sort(attribute="date")
|
|
| filter(attribute="taxonomies.categories", value=["Site News"])
|
|
| slice(end=3)
|
|
%}
|
|
{% for page in site_news %}
|
|
<article>
|
|
<div class="card">
|
|
<a class="header" href="{{ page.permalink | safe }}">
|
|
<strong>{{ page.title }}</strong>
|
|
</a>
|
|
{% if page.date %}
|
|
<div class="right">{{ page.date }}</div>
|
|
{% endif %}
|
|
{% if page.summary %}
|
|
<p>{{ page.summary | markdown(inline=true) | safe }}...</p>
|
|
{% endif %}
|
|
<a href="{{ page.permalink | safe }}">Read More -></a>
|
|
</div>
|
|
</article>
|
|
{% endfor %}
|
|
|
|
{% endblock content %}
|