{% extends "base.html" %} {% block content %}

Filip Rojek <filip@filiprojek.cz>


Linux sysadmin, software engineer @fofrweb,
GNU/Linux Void contributor and student at Charles University in Prague_


PGP: 0x7E65EA58C6075F09


Git Telegram PGP

{# how many items to show #} {% set n = 6 %} {# fetch sections #} {% set posts = get_section(path="posts/_index.md") %} {% set projects = get_section(path="projects/_index.md") %} {# merge, sort by date (desc), take first n #} {% set latest = posts.pages | concat(with=projects.pages) | sort(attribute="date") | reverse | slice(end=n) %}

Latest projects & posts

{% for page in latest %}
{{ page.title }}

{% if page.description %}{{ page.description }}{% else %}…{% endif %}


{{ page.date }} {% if page.path is starting_with("posts/") %} · Post {% elif page.path is starting_with("projects/") %} · Project {% endif %}

{% endfor %}
{% endblock content %}