forked from okfde/eucopyright
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (59 loc) · 1.42 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
---
layout: default
---
{% include intro.html %}
<section>
<div class="page-header">
<h2 id="rights-single-market">
Rights and the functioning of the Single Market
<br/>
<small>
Why is it not possible to access many online content services from anywhere in Europe?
</small>
</h2>
</div>
{% include section_2a.html %}
{% include section_2b.html %}
</section>
{% include footnotes.html %}
<script>
var EUCopyright = EUCopyright || {};
EUCopyright.questions = [
{% for question in site.data.questions %}
{
num: {{ question.num }},
{% if question.options %}
options: [
{% for opt in question.options %}
{
num: {{ forloop.index0 }},
{% if opt.odf %}
odf: [
{% for odf in opt.odf %}
{
action: "{{ odf.action }}",
key: "{{ odf.key }}"
}{% unless forloop.last %},{% endunless %}
{% endfor %}
],
{% endif %}
fulltext: {% if opt.fulltext %}true{% else %}false{% endif %}
}{% unless forloop.last %},{% endunless %}
{% endfor %}
],
{% endif %}
{% if question.odf %}
odf: [
{% for odf in question.odf %}
{
action: "{{ odf.action }}",
key: "{{ odf.key }}"
}
{% unless forloop.last %},{% endunless %}
{% endfor %}
],
{% endif %}
type: "{{ question.type }}"
}{% unless forloop.last %},{% endunless %}
{% endfor %}];
</script>