ulovliglogning.dk/_layouts/indexpage.html

36 lines
1.1 KiB
HTML
Raw Normal View History

2018-01-20 23:49:35 +00:00
---
layout: default
---
2018-01-25 21:35:10 +00:00
{% assign global = site.data.common.global %}
2018-01-20 23:49:35 +00:00
{% for section in page.sections %}
2018-01-25 23:17:09 +00:00
<section id="{{ section.id }}" class="{% cycle 'odd', 'even' %}">
2018-02-03 17:17:02 +00:00
{% if section.id != "faq" %}
2018-01-25 23:17:09 +00:00
<div class="content">
<h1>{{ section.heading }}</h1>
<div class="paragraphs">
{{ section.content | markdownify }}
2018-01-25 23:23:50 +00:00
{% 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 %}
2018-01-25 23:17:09 +00:00
</div>
</div>
2018-02-03 17:17:02 +00:00
{% 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 %}
2018-01-25 23:17:09 +00:00
</section>
{% endfor %}