36 lines
1.1 KiB
HTML
36 lines
1.1 KiB
HTML
---
|
|
layout: default
|
|
---
|
|
{% assign global = site.data.common.global %}
|
|
{% for section in page.sections %}
|
|
<section id="{{ section.id }}" class="{% cycle 'odd', 'even' %}">
|
|
{% if section.id != "faq" %}
|
|
<div class="content">
|
|
<h1>{{ section.heading }}</h1>
|
|
<div class="paragraphs">
|
|
{{ section.content | markdownify }}
|
|
{% if section.id == "wannahelp" %}
|
|
<form class="signup" action="https://ulovliglogning.dk/dynamic/signup/" method="post">
|
|
<input type="email" required="true" placeholder="{{ global.emailplaceholder }}" name="email">
|
|
<input type="text" name="lang" value="{{ site.active_lang }}" class="hidden">
|
|
<input type="submit" name="submit" value="{{ global.signup }}">
|
|
</form>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
{% elsif section.id == "faq" %}
|
|
{% for question in section.content %}
|
|
<div class="qa">
|
|
<div class="qa--question">
|
|
<h3>{{ question.heading }}</h3>
|
|
</div>
|
|
<div class="qa--answer">
|
|
{{ question.content | markdownify }}
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
{% endif %}
|
|
</section>
|
|
{% endfor %}
|
|
|