From 56646d55dda038177d47f5b602f0dee94a57cf88 Mon Sep 17 00:00:00 2001 From: Arsen Musayelyan Date: Sun, 31 Jan 2021 15:45:20 -0800 Subject: [PATCH] Remove footer and navigation in docs --- layouts/_default/baseof.html | 4 ---- layouts/docs/single.html | 2 +- layouts/shortcodes/button-gitea.html | 4 ++-- layouts/shortcodes/button-gitlab.html | 2 +- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index e5b2257..944e384 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -21,10 +21,6 @@ {{ block "sidebar-prefooter" . }}{{ end }} {{ block "sidebar-footer" . }}{{ end }} - {{ partial "footer/footer.html" . }} - {{ if and .IsHome .Site.Params.alert }} - {{ partial "footer/alert.html" . }} - {{ end }} {{ partial "footer/script-footer.html" . }} \ No newline at end of file diff --git a/layouts/docs/single.html b/layouts/docs/single.html index e321acd..87db564 100644 --- a/layouts/docs/single.html +++ b/layouts/docs/single.html @@ -24,7 +24,7 @@ {{ if .Site.Params.editPage -}} {{ partial "main/edit-page.html" . }} {{ end -}} - {{ partial "main/docs-navigation.html" . }} + {{ end }} \ No newline at end of file diff --git a/layouts/shortcodes/button-gitea.html b/layouts/shortcodes/button-gitea.html index 35b02a0..cac45ad 100644 --- a/layouts/shortcodes/button-gitea.html +++ b/layouts/shortcodes/button-gitea.html @@ -1,4 +1,4 @@ - - {{ .Get "text" }} + +  {{ .Get "text" }} diff --git a/layouts/shortcodes/button-gitlab.html b/layouts/shortcodes/button-gitlab.html index c799094..70cf9de 100644 --- a/layouts/shortcodes/button-gitlab.html +++ b/layouts/shortcodes/button-gitlab.html @@ -1,4 +1,4 @@ - {{ .Get "text" }} +  {{ .Get "text" }}