2019-11-11 23:53:11 +01:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>{{ renderData.title or title or metadata.title }}</title>
|
|
|
|
<meta name="Description" content="{{ renderData.description or description or metadata.description }}">
|
|
|
|
<link rel="stylesheet" href="{{ '/css/index.css' | url }}">
|
|
|
|
<body>
|
|
|
|
<main>
|
|
|
|
{{ content | safe }}
|
|
|
|
<section class="auto-grid">
|
|
|
|
<h2>Table of Content</h2>
|
|
|
|
<ul>
|
|
|
|
{% for definition in collections.definitions %}
|
|
|
|
{% set renderedName %}
|
|
|
|
{{ definition.data.title}}
|
|
|
|
{%- if definition.data.flag and (definition.data.flag_type == 'avoid') -%}
|
|
|
|
<span class="flag__red">{{ definition.data.flag}}</span>
|
|
|
|
{% endif %}
|
|
|
|
{% endset %}
|
|
|
|
<li>
|
|
|
|
{%- if definition.data.alt_words -%}
|
|
|
|
{% set linkTarget %}
|
|
|
|
#{{ definition.data.slug }}
|
|
|
|
{% endset %}
|
|
|
|
<a href={{ linkTarget }}>{{ renderedName | safe }}</a>
|
|
|
|
{%- else -%}
|
|
|
|
{{ renderedName }}
|
|
|
|
{% endif %}
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</section>
|
|
|
|
<section class="auto-grid">
|
|
|
|
<h2>Words</h2>
|
2019-11-12 01:17:50 +01:00
|
|
|
{% include 'components/defintions-list.njk' %}
|
2019-11-11 23:53:11 +01:00
|
|
|
</section>
|
|
|
|
</main>
|
2019-11-12 01:17:50 +01:00
|
|
|
</body>
|