Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions partials/activiteit.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{% extends "base.html" %}
{% block title %}Activiteit{% endblock %}
{% block og.title %}{{ onderwerp }}{% endblock %}
{% block og.description %}{{ datum }}: {{ onderwerp }}{% endblock %}

{% block div %}
id="recent-docs" x-data="{
nummer: '',
Expand Down
3 changes: 3 additions & 0 deletions partials/activiteiten.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{% extends "base.html" %}
{% block title %}Activiteiten{% endblock %}
{% block og.title %}Activiteiten{% endblock %}
{% block og.description %}Activiteiten Tweede Kamer{% endblock %}

{% block main %}
<h4>Recente en toekomstige activiteiten
Expand Down
7 changes: 3 additions & 4 deletions partials/base.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<title>{{ pagemeta.title }}</title>
<title>{% block title %}{% endblock %} – OpenTK</title>
<meta charset="utf-8">
<meta property='og:title' content='{{ og.title }}'>
<meta property='og:description' content='{{ og.description }}'>
<meta property='og:title' content='{% block og.title %}{% endblock %}'>
<meta property='og:description' content='{% block og.description %}{% endblock %}'>
<meta property='og:type' content='article'>
<meta property='og:image' content='{{og.imageurl}}'>
{% block extrameta %} {% endblock %}
<link rel='stylesheet' href='pico.min.css' />
<style>
Expand Down
5 changes: 3 additions & 2 deletions partials/besluiten.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{% extends "base.html" %}
{% block div %}
{% endblock %}
{% block title %}Besluiten{% endblock %}
{% block og.title %}Recente en toekomstige besluiten{% endblock %}
{% block og.description %}Recente en toekomstige besluiten in de Tweede Kamer{% endblock %}

{% block main %}
<h4>Recente en toekomstige besluiten</h4>
Expand Down
3 changes: 3 additions & 0 deletions partials/commissie.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{% extends "base.html" %}
{% block title %}{{ naam }}{% endblock %}
{% block og.title %}{{ naam }}{% endblock %}
{% block og.description %}{{ naam }}{% endblock %}

{% block javascript %}
<script defer src="user.js"></script>
Expand Down
7 changes: 2 additions & 5 deletions partials/commissies.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{% extends "base.html" %}
{% block div %}
{% endblock %}

{% block javascript %}
{% endblock %}
{% block title %}Commissies{% endblock %}
{% block og.title %}Commissies van de Tweede Kamer{% endblock %}

{% block main %}
<h4>Commissies</h4>
Expand Down
3 changes: 3 additions & 0 deletions partials/error.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{% extends "base.html" %}
{% block title %}Error{% endblock %}
{% block og.title %}{{ error }}{% endblock %}
{% block og.description %}Een TKConv error: {{ error }}{% endblock %}

{% block main %}
<hr>
Expand Down
3 changes: 2 additions & 1 deletion partials/geschenken.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{% extends "base.html" %}
{% block div %}{% endblock %}
{% block title %}Geschenken{% endblock %}
{% block og.title %}Geschenken ontvangen door leden van de Tweede Kamer{% endblock %}

{% block main %}
<h4>Geschenken</h4>
Expand Down
3 changes: 3 additions & 0 deletions partials/getorig.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{% extends "base.html" %}
{% block title %}{{ meta.onderwerp }}{% endblock %}
{% block og.title %}{{ meta.onderwerp }}{% endblock %}
{% block og.description %}{{ meta.titel }} {{ meta.onderwerp }}{% endblock %}

{% block javascript %}
<script defer src="user.js"></script>
Expand Down
5 changes: 3 additions & 2 deletions partials/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{% extends "base.html" %}
{% block javascript %}{% endblock %}
{% block div %}{% endblock %}
{% block title %}Hoofdpagina{% endblock %}
{% block og.title %}Recente documenten{% endblock %}
{% block og.description %}Recente documenten uit de Tweede Kamer{% endblock %}

{% block extrameta %}
<link rel="alternate" type="application/rss+xml" href="https://berthub.eu/tkconv/index.xml" title="OpenTK Meest recente parlementaire documenten" />
Expand Down
2 changes: 2 additions & 0 deletions partials/kamerleden.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{% extends "base.html" %}
{% block title %}Kamerleden{% endblock %}
{% block og.title %}Leden van de Tweede Kamer{% endblock %}

{% block main %}

Expand Down
2 changes: 2 additions & 0 deletions partials/kamerstukdossiers.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{% extends "base.html" %}
{% block title %}Kamerstukdossiers{% endblock %}
{% block og.title %}Kamerstukdossiers{% endblock %}

{% block div %}
x-data="{ kamerstukdossiers: [] }" x-init="getGenKSD('recent-kamerstukdossiers', 'kamerstukdossiers', $data);"
Expand Down
3 changes: 3 additions & 0 deletions partials/ksd.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{% extends "base.html" %}
{% block title %}{{ meta.titel }}{% endblock %}
{% block og.title %}{{ meta.titel }}{% endblock %}
{% block og.description %}{{ meta.titel }}{% endblock %}

{% block javascript %}
<script defer src="user.js"></script>
Expand Down
4 changes: 4 additions & 0 deletions partials/mijn.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{% extends "base.html" %}
{% block title %}Mijn{% endblock %}
{% block og.title %}Mijn{% endblock %}
{% block og.description %}Mijn{% endblock %}

{% block div %}
id="recent-docs" x-data='{
email: "",
Expand Down
3 changes: 3 additions & 0 deletions partials/ongeplande-activiteiten.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{% extends "base.html" %}
{% block title %}Ongeplande activiteiten{% endblock %}
{% block og.title %}Ongeplande activiteiten{% endblock %}
{% block og.description %}Ongeplande activiteiten Tweede Kamer{% endblock %}

{% block main %}
<h4>Nog ongeplande activiteiten
Expand Down
9 changes: 3 additions & 6 deletions partials/oo.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
{% extends "base.html" %}
{% block div %}
{% endblock %}

{% block javascript %}
{% endblock %}

{% block title %}{{ titel }}{% endblock %}
{% block og.title %}{{ titel }}{% endblock %}
{% block og.description %}{{ mutatiedatumtijd }} {{ titel }}{% endblock %}

{% block main %}
<hgroup>
Expand Down
3 changes: 3 additions & 0 deletions partials/oods.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{% extends "base.html" %}
{% block title %}Alle open.overheid.nl documenten{% endblock %}
{% block og.title %}Alle open.overheid.nl documenten{% endblock %}
{% block og.description %}Alle open.overheid.nl documenten{% endblock %}

{% block div %}
x-data="{
Expand Down
7 changes: 3 additions & 4 deletions partials/open-vragen.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{% extends "base.html" %}
{% block div %}
{% endblock %}
{% block javascript %}
{% endblock %}
{% block title %}Open vragen{% endblock %}
{% block og.title %}Open vragen{% endblock %}
{% block og.description %}Open vragen uit de Tweede Kamer{% endblock %}

{% block customheader %}
<p>{{ aantalvragen }} open vragen, in {{ length(openVragen) }} documenten (waarvan <font color="#ff0000">{{ totlaatzonderuitstel }}</font> te laat zonder uitstel)</p>
Expand Down
3 changes: 3 additions & 0 deletions partials/personen.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{% extends "base.html" %}
{% block title %}Alle personen{% endblock %}
{% block og.title %}Alle personen{% endblock %}
{% block og.description %}Alle personen{% endblock %}

{% block main %}
<h4>Kamerleden en veel voormalige kamerleden</h4>
Expand Down
7 changes: 7 additions & 0 deletions partials/persoon.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
{% extends "base.html" %}
{% block title %}Kamerlid{% endblock %}
{% block og.title %}{{meta.roepnaam}} {% if meta.tussenvoegsel != "" %}{{meta.tussenvoegsel}} {% endif %}{{meta.achternaam}}{% endblock %}
{% block og.description %}{{meta.functie}}{% endblock %}
{% block extrameta %}
<meta property='og:image' content='https://berthub.eu/tkconv/personphoto/{{meta.nummer}}'>
{% endblock %}

{% block div %}
x-data="{
haveMonitor: false,
Expand Down
4 changes: 4 additions & 0 deletions partials/search.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{% extends "base.html" %}
{% block title %}{% if h != "" %}Zoek naar {{h}}{% else %}Zoeken{% endif %}{% endblock %}
{% block og.title %}{% if h != "" %}Zoek naar {{h}}{% else %}Zoeken{% endif %}{% endblock %}
{% block og.description %}{% if h != "" %}Zoek naar {{h}}{% else %}Zoeken{% endif %}{% endblock %}

{% block div %}
x-data="{
foundDocs: [],
Expand Down
7 changes: 3 additions & 4 deletions partials/stemmingen.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{% extends "base.html" %}

{% block div %}
{% endblock %}

{% block title %}Stemmingen{% endblock %}
{% block og.title %}Stemmingen{% endblock %}
{% block og.description %}Stemmingen{% endblock %}

{% block main %}
<h4>Recente stemmingen (afgelopen {{weken}} weken)</h4>
Expand Down
8 changes: 3 additions & 5 deletions partials/toezegging.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{% extends "base.html" %}
{% block div %}
{% endblock %}

{% block javascript %}
{% endblock %}
{% block title %}Toezegging {{toez.tnummer}}{% endblock %}
{% block og.title %}Toezegging {{toez.tnummer}}{% endblock %}
{% block og.description %}{{toez.tekst}}{% endblock %}

{% block customheader %}
<p></p>
Expand Down
4 changes: 4 additions & 0 deletions partials/toezeggingen.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{% extends "base.html" %}
{% block title %}Toezeggingen{% endblock %}
{% block og.title %}Toezeggingen{% endblock %}
{% block og.description %}Toezeggingen van het kabinet{% endblock %}

{% block div %}
x-data="{
haveMonitor: false,
Expand Down
5 changes: 2 additions & 3 deletions partials/uitleg.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% extends "base.html" %}
{% block title %}Uitleg en tips{% endblock %}
{% block og.title %}Uitleg en tips{% endblock %}

{% block main %}


<h4>Uitleg en tips</h4>
In deze twee blog-posts staan uitleg met screenshots:
<p>
Expand Down Expand Up @@ -55,4 +55,3 @@ <h5 id="monitors">Monitors</h5>
</p>

{% endblock %}

8 changes: 3 additions & 5 deletions partials/verslag.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{% extends "base.html" %}
{% block div %}
{% endblock %}

{% block javascript %}
{% endblock %}
{% block title %}{{titel}}{% endblock %}
{% block og.title %}{{titel}}{% endblock %}
{% block og.description %}{{updated}} {{titel}}{% endblock %}

{% block customheader %}
<h5>Datum {{datum}}. Laatste update: {{updated}}</h5>
Expand Down
4 changes: 4 additions & 0 deletions partials/verslagen.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{% extends "base.html" %}
{% block title %}Verslagen{% endblock %}
{% block og.title %}Recente verslagen{% endblock %}
{% block og.description %}Recente verslagen uit de Tweede Kamer{% endblock %}

{% block main %}
<h4>Verslagen</h4>
<table class="striped">
Expand Down
5 changes: 4 additions & 1 deletion partials/zaak.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{% extends "base.html" %}
{% block title %}Zaak {{zaak.nummer}}{% endblock %}
{% block og.title %}Zaak {{zaak.nummer} | {{zaak.onderwerp}}{% endblock %}
{% block og.description %}Zaak {{zaak.nummer} | {{zaak.onderwerp}}{% endblock %}

{% block div %}
x-data="{
haveMonitor: false,
Expand All @@ -8,7 +12,6 @@
}" x-init="checkMonitor($data)"
{% endblock %}


{% block javascript %}
<script defer src="user.js"></script>
{{ super() }}
Expand Down
Loading
Loading