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