ulovliglogning.dk/_layouts/indexpage.html

44 lines
1.3 KiB
HTML

---
layout: default
---
{% assign global = site.data.common.global %}
{% for section in page.sections %}
{% if section.id != "faq" %}
<section id="{{ section.id }}" class="{% cycle 'odd', 'even' %}">
<div class="content">
<h1>{{ section.heading }}</h1>
<div class="paragraphs">
{{ section.content | markdownify }}
{% if section.id == "intro" %}
<p class="ctaTxt">{{ global.ctatext | markdownify }}</p>
<a href="#wannahelp" class="cta">{% include ctascale.svg %}</a>
{% endif %}
{% 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>
</section>
{% endif %}
{% endfor %}
<section id="faq">
{% for section in page.sections %}
{% if section.id == "faq" %}
<div class="qa">
<div class="qa--question">
<h3>{{ section.heading }}</h3>
</div>
<div class="qa--anwser">
{{ section.content | markdownify }}
</div>
</div>
{% endif %}
{% endfor %}
</section>