6th draft, har fjernet ligegyldig footer og ændret afstand efter afsnit fra 2 til 1rem

This commit is contained in:
Rasmus Malver 2021-12-08 00:55:51 +01:00
parent 3de84027f4
commit ce4149d2a3
4 changed files with 5 additions and 10 deletions

View file

@ -8,9 +8,6 @@
<div class="container">
{{ content }}
</div>
<footer>
<!-- Last generated at {{ site.time | date_to_rfc822 }} -->
</footer>
<script type="text/javascript" src="{{ site.baseurl }}/assets/js/main.js"></script>
</body>
</html>
</html>

View file

@ -3,10 +3,7 @@ layout: default
---
<section class="centered">
<div class="content">
<div class="heading" style="text-align:left;white-space: pre;">
<h3>{{ page.heading }}</h3><p>{% if page.permalink == "/intetatskjule" %}<img src="{{ site.baseurl }}/assets/img/postkort-mockup.svg">{% endif %}
{% if page.permalink == "/gavekort" %}<img src="{{ site.baseurl }}/assets/img/gavekort-mockup.svg">{% endif %}{{ page.heading_subtext }}
</p>
<div class="heading" style="text-align:left;white-space: pre;">{% if page.heading != "" %}<h3>{{ page.heading }}</h3>{% endif %}<p>{% if page.permalink == "/intetatskjule" %}<img src="{{ site.baseurl }}/assets/img/postkort-mockup.svg">{% endif %}{% if page.permalink == "/gavekort" %}<img src="{{ site.baseurl }}/assets/img/gavekort-mockup.svg">{% endif %}{{ page.heading_subtext }}</p>
</div>
<div class="paragraphs">
{{ content }}

View file

@ -37,7 +37,7 @@ h3 {
}
p {
margin: 0 0 2rem;
margin: 0 0 1rem 0;
font-size: 1rem;
line-height: 1.5rem;
break-inside: avoid;

View file

@ -153,4 +153,5 @@ RewriteRule "^teleskandale10(?:.pdf)?$" "/assets/docs/2021-07-31-teleskandale.pd
Redirect /intetatskjule /intetatskjule.html
# Gavekort
Redirect /gavekort /gavekort.html
Redirect /gavekort /gavekort.html
Redirect /gave /gavekort.html