diff --git a/_layouts/default.html b/_layouts/default.html index 5458554c..ea1f1908 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 d7deecf6..07399e5e 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 4aab68bf..335cd303 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 1d433c37..c553c1a1 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