ulovliglogning.dk/_layouts/indexpage.html
2018-04-24 21:06:08 +02:00

76 lines
2.7 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
layout: default
---
{% assign global = site.data.common.global %}
{% for section in page.sections %}
<section id="{{ section.id }}" class="{% cycle 'odd', 'even' %}">
{% if forloop.first %}
<div class="donationCounter">
<span>
{{ site.donationCounter.donated | intcomma: '.' }}{{ global.donation.currency }} {{ global.donation.text }} {{ site.donationCounter.goal | intcomma: '.' }}{{ global.donation.currency }}
</span>
</div>
<nav id="navElm">
<div class="langSwitcher left">
{% for tongue in site.languages %}
<a class="lang-{{ tongue }} {% if tongue == site.active_lang %}activeLang{% endif %}" href="{% if tongue == site.default_lang %} {{site.baseurl}}{{page.url}} {% else %} {{site.baseurl}}/{{ tongue }}{{page.url}} {% endif %}">{{ tongue }}</a>
{% endfor %}
</div>
<div id="navLinks" class="center">
{% for section in page.sections %}
{% if section.link %}
<a href="#{{ section.id }}" data-link-for="{{ section.id }}">{{ section.link }}</a>
{% endif %}
{% endfor %}
</div>
<div class="right">
<input type="checkbox" id="show-menu" role="button">
<label for="show-menu" class="show-menu"></label>
<ul>
{% for section in page.sections %}
{% if section.link %}
<li><a class="mobileLink" href="#{{ section.id }}" data-link-for="{{ section.id }}">{{ section.link }}</a></li>
{% endif %}
{% endfor %}
</ul>
</div>
</nav>
{% endif %}
{% if section.id != "faq" %}
<div class="content">
<div class="heading">
<h1>{{ section.heading }}</h1>
{% if section.id == "wannahelp" %}
<a href="https://mobilepay.dk/da-dk/pages/betal.aspx?phone=004540456&comment=Til%20kampen%20imod%20den%20Ulovlige%20Logning!&t=d">
<img src="{{ site.baseurl }}/assets/img/mobilepay5.svg">
</a>
{% endif %}
</div>
<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 id="{{ question.id }}" class="qa">
<div class="qa--question">
<h3>{{ question.heading }}</h3>
</div>
<div class="qa--answer">
{{ question.content | markdownify }}
</div>
</div>
{% endfor %}
{{ global.errata | markdownify }}
{% endif %}
</section>
{% endfor %}