From ce4149d2a39c260c00b3b4890833892e52a2ec31 Mon Sep 17 00:00:00 2001 From: Rasmus Malver Date: Wed, 8 Dec 2021 00:55:51 +0100 Subject: [PATCH] =?UTF-8?q?6th=20draft,=20har=20fjernet=20ligegyldig=20foo?= =?UTF-8?q?ter=20og=20=C3=A6ndret=20afstand=20efter=20afsnit=20fra=202=20t?= =?UTF-8?q?il=201rem?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _layouts/default.html | 5 +---- _layouts/singlepage.html | 5 +---- _scss/base/_typography.scss | 2 +- htaccess | 3 ++- 4 files changed, 5 insertions(+), 10 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index 5458554..ea1f190 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -8,9 +8,6 @@
{{ content }}
- - + \ No newline at end of file diff --git a/_layouts/singlepage.html b/_layouts/singlepage.html index d7deecf..07399e5 100644 --- a/_layouts/singlepage.html +++ b/_layouts/singlepage.html @@ -3,10 +3,7 @@ layout: default ---
-
-

{{ page.heading }}

{% if page.permalink == "/intetatskjule" %}{% endif %} - {% if page.permalink == "/gavekort" %}{% endif %}{{ page.heading_subtext }} -

+
{% if page.heading != "" %}

{{ page.heading }}

{% endif %}

{% if page.permalink == "/intetatskjule" %}{% endif %}{% if page.permalink == "/gavekort" %}{% endif %}{{ page.heading_subtext }}

{{ content }} diff --git a/_scss/base/_typography.scss b/_scss/base/_typography.scss index 4aab68b..335cd30 100644 --- a/_scss/base/_typography.scss +++ b/_scss/base/_typography.scss @@ -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; diff --git a/htaccess b/htaccess index 1d433c3..c553c1a 100644 --- a/htaccess +++ b/htaccess @@ -153,4 +153,5 @@ RewriteRule "^teleskandale10(?:.pdf)?$" "/assets/docs/2021-07-31-teleskandale.pd Redirect /intetatskjule /intetatskjule.html # Gavekort -Redirect /gavekort /gavekort.html \ No newline at end of file +Redirect /gavekort /gavekort.html +Redirect /gave /gavekort.html \ No newline at end of file