ulovliglogning.dk/_layouts/indexpage.html

84 lines
3.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 %}
<section id="{{ section.id }}" class="{% cycle 'odd', 'even' %}">
{% if forloop.first %}
<div class="donationContainer">
<div class="total">
{{ site.donationCounter.donated | intcomma: '.' }}{{ global.donation.currency }} {{ global.donation.text }}
<sub>{{ global.donation.sub }}</sub>
</div>
<div class="donationCounter goal">
2018-07-07 12:59:13 +00:00
<div class="overlay goal1">{{ site.donationCounter.goal1 | slice: 0,3 }}K</div><div class="overlay goal2">{{ site.donationCounter.goal2 | slice: 0,3 }}K</div><div class="overlay goal3">{{ site.donationCounter.goal3 | slice: 0,3 }}K</div><div class="overlay goal4">{{ site.donationCounter.goal4 | slice: 0,1 }} Million</div>
</div>
</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 %}
2018-01-25 23:17:09 +00:00
</div>
2018-02-05 22:17:52 +00:00
<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">
2018-04-09 18:27:31 +00:00
<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">
2018-04-10 20:02:13 +00:00
<img src="{{ site.baseurl }}/assets/img/mobilepay5.svg">
2018-04-09 18:27:31 +00:00
</a>
{% endif %}
2020-01-25 18:14:21 +00:00
{% if section.id == "butwhy" %}
<a href="https://www.verdensmaalene.dk/maal/16">
<img src="{{ site.baseurl }}/assets/img/global-goal-16-DA-BW.svg">
</a>
{% endif %}
2018-04-09 18:27:31 +00:00
</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 %}
2018-01-25 23:17:09 +00:00
</div>
</div>
{% elsif section.id == "faq" %}
{% for question in section.content %}
2018-02-11 20:07:04 +00:00
<div id="{{ question.id }}" class="qa">
<div class="qa--question">
<h3>{{ question.heading }}</h3>
2018-02-03 17:17:02 +00:00
</div>
<div class="qa--answer">
<h3>{{ question.answer }}</h3>
{{ question.explanation | markdownify }}
</div>
</div>
{% endfor %}
2018-02-11 20:07:04 +00:00
{{ global.errata | markdownify }}
{% endif %}
</section>
2020-01-25 18:14:21 +00:00
{% endfor %}