From 271cab45b90bf83e87dcca032bc6b98492836d84 Mon Sep 17 00:00:00 2001 From: Hauke Stieler Date: Sun, 8 Aug 2021 23:05:16 +0200 Subject: Add margin --- static/css/main.css | 1 + 1 file changed, 1 insertion(+) diff --git a/static/css/main.css b/static/css/main.css index 3e08185..574a0cd 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -376,6 +376,7 @@ I don't use the default pager-class because I want to use the normal buttons wit /* Table */ table { width: 100%; + margin: 15px 0px; } table, th, td { -- cgit v1.2.3 From 625d9fc80461d49d95194f3160ea3bbcdc07c702 Mon Sep 17 00:00:00 2001 From: Andreas Amos Date: Wed, 19 Jan 2022 08:10:50 +0100 Subject: Pagination can be deactivated for single pages On static pages e.g. imprint such a navigation is not necessary and can now simply be deactivated. --- layouts/_default/single.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 910d6b6..953476f 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -77,6 +77,8 @@ {{ end }} {{ end }} + {{ if (isset .Params "nopagination") }} + {{ else }}
{{ with .PrevInSection }} @@ -105,6 +107,7 @@
{{ end }} + {{ end }} -- cgit v1.2.3