ulovliglogning.dk/_layouts/indexpage.html

44 lines
1.3 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
{% 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 }}
2018-01-25 23:23:50 +00:00
{% 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 %}
2018-01-25 23:17:09 +00:00
</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 %}
2018-01-20 23:49:35 +00:00
</section>