36 lines
1,000 B
HTML
36 lines
1,000 B
HTML
|
|
<main role="main" class="container">
|
|
|
|
{% assign candidate = site.data.candidates | where:"slug",include.slug | first %}
|
|
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
<nav class="col-md-3 d-none d-md-block" id="myScrollspy">
|
|
<ul class="nav nav-pills flex-column position-fixed">
|
|
<h5>Die Antworten von<br>{{ candidate.name }}</h5>
|
|
{% for topic in site.data.topics %}
|
|
<li class="nav-item">
|
|
<a class="nav-link {% if forloop.first %}active{% endif %}" href="#{{ topic.slug }}">{{ topic.title }}</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</nav>
|
|
<div class="col-md-9 col-sm-12">
|
|
|
|
{% for topic in site.data.topics %}
|
|
<div id="{{ topic.slug }}">
|
|
<h2 style="padding-top:5rem;margin-top:-5rem;">{{ topic.title }}</h2>
|
|
{% for question in topic.questions %}
|
|
<h5>{{ question.text }}</h5>
|
|
|
|
<p>{% include {{ candidate.slug }}/{{ question.slug }}.html %}</p>
|
|
|
|
{% endfor %}
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</main>
|