home » zplus/dokk.org.git
ID: 72c9b2aa0940534c78f2925f635c326f8f15d307
43 lines — 924B — View raw


{% extends "templates/base.tpl" %}

{% set data = query("""
    PREFIX mp: <dokk:manpages:>

    SELECT DISTINCT ?distribution ?version
    WHERE {
        [] mp:source [
            mp:distribution_version ?version ;
            mp:distribution_name ?distribution ;
        ] .
    }
    ORDER BY ?distribution ?version
    """)
%}

{% block title %}man pages{% endblock %}

{% block body %}

<div class="manpages">

    <div class="path">
        <a href="/">DOKK</a> /
        manpages
    </div>

    <p>
        Distributions:
    </p>

    {% for result in data["results"]["bindings"] %}
        <div>
            <a href="{{ url('manpages_distribution', distribution=result['distribution']['value'], version=result['version']['value']) }}">
                {{ result["distribution"]["value"] }}
                {{ result["version"]["value"] }}
            </a>
        </div>
    {% endfor %}

</div>

{% endblock %}