home » zplus/dokk.org.git
ID: 01bb8dc5b7123438972e260df194fbdf20123ada
29 lines — 543B — View raw


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

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

    SELECT *
    WHERE {
        ?license license:id ?id ;
                 license:name ?name.
    }
    ORDER BY ASC(UCASE(?name))
    """)
%}

{% block title %}Licenses{% endblock %}

{% block body %}

<div class="">
{% for license in data["results"]["bindings"] %}
    <p>
        <div>
            <a href="/license/{{ license['id']['value'] }}">{{ license['name']['value'] }}</a>
        </div>
    </p>
{% endfor %}
</div>

{% endblock %}