Commit 75648f0d authored by sarah's avatar sarah

Merge branch 'master' of gitlab.constantvzw.org:osp/work.a-pass

parents 68626b6a 632fb83a
......@@ -4,12 +4,12 @@
<title>{{ title }}</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width" />
<link rel="stylesheet" href="../../css/reset.css" media="all" />
<link rel="stylesheet" href="../../css/reset.css?{{ cacheBuster }}" media="all" />
<link rel="stylesheet" href="../../css/fonts.css?{{ cacheBuster }}" media="all" />
<link rel="stylesheet" href="../../css/style.css?{{ cacheBuster }}" media="all" />
<link rel="stylesheet" href="../../css/pattern-scaffolding.css?{{ cacheBuster }}" media="all" />
<!-- Begin Pattern Lab (Required for Pattern Lab to run properly) -->
{{ patternLabHead | raw }}
<!-- End Pattern Lab -->
......
{
"keyword_list": {
"a": [
{
"keyword": "attached",
"number": 3
},
{
"keyword": "atune",
"number": 22
},
{
"keyword": "Arlon Bader",
"number": 4
}
],
"b": [
{
"keyword": "bass",
"number": 2
},
{
"keyword": "body",
"number": 25
},
{
"keyword": "bodies",
"number": 4
},
{
"keyword": "blabla",
"number": 3
},
{
"keyword": "Brigitte Sunlight",
"number": 2
},
{
"keyword": "burn out",
"number": 5
}
],
"c": [
{
"keyword": "Carole Wittgen",
"number": 1
},
{
"keyword": "calm",
"number": 6
},
{
"keyword": "clarinet",
"number": 2
},
{
"keyword": "count",
"number": 9
}
],
"d": [
{
"keyword": "decalogue",
"number": 1
},
{
"keyword": "delight",
"number": 6
},
{
"keyword": "danish",
"number": 7
}
]
}
}
<ul class="index">
{% for letter, value in keyword_list %}
<li>{{ letter }}
<ul>
<li class="index__sublist"><span class="index__letter">{{ letter }}</span>
<ul class="index__keywords">
{% for entry in value %}
<li>{{ entry.keyword }}, {{ entry.number }}</li>
<li><span class="index__keyword">{{ entry.keyword }}</span>
<span class="index__count">{{ entry.number }}</span></li>
{% endfor %}
</ul>
</li>
......
......@@ -6,8 +6,70 @@
"number": 3
},
{
"keyword": "azerty",
"keyword": "atune",
"number": 22
},
{
"keyword": "Arlon Bader",
"number": 4
}
],
"b": [
{
"keyword": "bass",
"number": 2
},
{
"keyword": "body",
"number": 25
},
{
"keyword": "bodies",
"number": 4
},
{
"keyword": "blabla",
"number": 3
},
{
"keyword": "Brigitte Sunlight",
"number": 2
},
{
"keyword": "burn out",
"number": 5
}
],
"c": [
{
"keyword": "Carole Wittgen",
"number": 1
},
{
"keyword": "calm",
"number": 6
},
{
"keyword": "clarinet",
"number": 2
},
{
"keyword": "count",
"number": 9
}
],
"d": [
{
"keyword": "decalogue",
"number": 1
},
{
"keyword": "delight",
"number": 6
},
{
"keyword": "danish",
"number": 7
}
],
"b": [
......
{
"keyword_list": {
"a": [
{
"keyword": "attached",
"number": 3
},
{
"keyword": "azerty",
"number": 1
}
]
}
}
......@@ -357,10 +357,28 @@ footer li { display: inline; }
.page__intro { margin-bottom: 2em; }
.index ul {
margin-left: 2em;
.index {
font-size: 28px;
line-height: 1.1;
}
.index__sublist {
margin-bottom: 1.1em;
}
.index__letter {
font-family: 'Moche';
font-weight: bold;
}
.index__keywords {
font-family: 'latin_modern_roman10';
}
.index__keyword {}
.index__count {}
.tag { }
.tag--highlight { color: brown; }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment