From 1723f960d828f4085dd497cb309c53ac3a822a89 Mon Sep 17 00:00:00 2001 From: nevfy Date: Fri, 7 Jun 2024 00:45:00 +0300 Subject: [PATCH] docs: template clean up --- _vendor/github.com/google/docsy/assets/scss/_pageinfo.scss | 1 - .../github.com/google/docsy/assets/scss/_sidebar-tree.scss | 2 +- .../github.com/google/docsy/assets/scss/section-index.scss | 2 +- .../google/docsy/layouts/partials/section-index.html | 1 - content/en/docs/_index.md | 7 ++----- 5 files changed, 4 insertions(+), 9 deletions(-) diff --git a/_vendor/github.com/google/docsy/assets/scss/_pageinfo.scss b/_vendor/github.com/google/docsy/assets/scss/_pageinfo.scss index 61c95f6..44cede7 100644 --- a/_vendor/github.com/google/docsy/assets/scss/_pageinfo.scss +++ b/_vendor/github.com/google/docsy/assets/scss/_pageinfo.scss @@ -18,7 +18,6 @@ .td-page-meta { &__lastmod { @extend .text-muted; - @extend .border-top; margin-top: map-get($spacers, 5) !important; padding-top: map-get($spacers, 3) !important; } diff --git a/_vendor/github.com/google/docsy/assets/scss/_sidebar-tree.scss b/_vendor/github.com/google/docsy/assets/scss/_sidebar-tree.scss index 05ae66a..67765ca 100644 --- a/_vendor/github.com/google/docsy/assets/scss/_sidebar-tree.scss +++ b/_vendor/github.com/google/docsy/assets/scss/_sidebar-tree.scss @@ -4,7 +4,7 @@ .td-sidebar-nav { $_max-height: calc(100vh - 8.5rem); - padding-right: 0.5rem; + padding: 0 1rem; margin-right: -15px; margin-left: -15px; diff --git a/_vendor/github.com/google/docsy/assets/scss/section-index.scss b/_vendor/github.com/google/docsy/assets/scss/section-index.scss index c34d699..b301e36 100644 --- a/_vendor/github.com/google/docsy/assets/scss/section-index.scss +++ b/_vendor/github.com/google/docsy/assets/scss/section-index.scss @@ -1,6 +1,6 @@ .section-index { .entry { - padding: 0.75rem; + padding: 0.5rem 0; } h5 { diff --git a/_vendor/github.com/google/docsy/layouts/partials/section-index.html b/_vendor/github.com/google/docsy/layouts/partials/section-index.html index 845d5c6..a66f9db 100644 --- a/_vendor/github.com/google/docsy/layouts/partials/section-index.html +++ b/_vendor/github.com/google/docsy/layouts/partials/section-index.html @@ -19,7 +19,6 @@ {{ else -}} {{/* Otherwise we show a nice formatted list of subpages with page descriptions */}} -
{{ range $pages -}} {{ $manualLink := cond (isset .Params "manuallink") .Params.manualLink ( cond (isset .Params "manuallinkrelref") (relref . .Params.manualLinkRelref) .RelPermalink) -}}
diff --git a/content/en/docs/_index.md b/content/en/docs/_index.md index e2e5c7c..5212259 100755 --- a/content/en/docs/_index.md +++ b/content/en/docs/_index.md @@ -2,13 +2,10 @@ --- title: "Documentation" linkTitle: "Documentation" +description: > + Welcome to the SelfPrivacy documentation! weight: 20 menu: main: weight: 20 --- - -{{% pageinfo %}} -Welcome to the SelfPrivacy documentation! -{{% /pageinfo %}} -