home » zplus/dokk.org.git
ID: d8c19b859f00ddbe669a88f6fb9ff621c8f542c2
29 lines — 689B — View raw


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

{% set data = query("""
    PREFIX mimi_eunice: <dokk:mimi_and_eunice:>
    PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

    SELECT ?number ?title
    WHERE {
        ?id mimi_eunice:title ?title .
        BIND (SUBSTR(STR(?id), 22) as ?number)
    }
    ORDER BY ?number
    """)
%}

{% block title %}Mimi & Eunice{% endblock %}

{% block body %}

<div class="">
{% for comic_strip in data["results"]["bindings"] %}
    <p>
        {{ comic_strip['number']['value'] }} -
        <a href="{{ url('mimi_and_eunice_strip', number=comic_strip['number']['value']) }}">{{ comic_strip['title']['value'] }}</a>
    </p>
{% endfor %}
</div>

{% endblock %}