docs: template clean up

This commit is contained in:
nevfy 2024-06-07 00:45:00 +03:00
parent b5a2be808c
commit 1723f960d8
5 changed files with 4 additions and 9 deletions

View file

@ -18,7 +18,6 @@
.td-page-meta { .td-page-meta {
&__lastmod { &__lastmod {
@extend .text-muted; @extend .text-muted;
@extend .border-top;
margin-top: map-get($spacers, 5) !important; margin-top: map-get($spacers, 5) !important;
padding-top: map-get($spacers, 3) !important; padding-top: map-get($spacers, 3) !important;
} }

View file

@ -4,7 +4,7 @@
.td-sidebar-nav { .td-sidebar-nav {
$_max-height: calc(100vh - 8.5rem); $_max-height: calc(100vh - 8.5rem);
padding-right: 0.5rem; padding: 0 1rem;
margin-right: -15px; margin-right: -15px;
margin-left: -15px; margin-left: -15px;

View file

@ -1,6 +1,6 @@
.section-index { .section-index {
.entry { .entry {
padding: 0.75rem; padding: 0.5rem 0;
} }
h5 { h5 {

View file

@ -19,7 +19,6 @@
</ul> </ul>
{{ else -}} {{ else -}}
{{/* Otherwise we show a nice formatted list of subpages with page descriptions */}} {{/* Otherwise we show a nice formatted list of subpages with page descriptions */}}
<hr class="panel-line">
{{ range $pages -}} {{ range $pages -}}
{{ $manualLink := cond (isset .Params "manuallink") .Params.manualLink ( cond (isset .Params "manuallinkrelref") (relref . .Params.manualLinkRelref) .RelPermalink) -}} {{ $manualLink := cond (isset .Params "manuallink") .Params.manualLink ( cond (isset .Params "manuallinkrelref") (relref . .Params.manualLinkRelref) .RelPermalink) -}}
<div class="entry"> <div class="entry">

View file

@ -2,13 +2,10 @@
--- ---
title: "Documentation" title: "Documentation"
linkTitle: "Documentation" linkTitle: "Documentation"
description: >
Welcome to the SelfPrivacy documentation!
weight: 20 weight: 20
menu: menu:
main: main:
weight: 20 weight: 20
--- ---
{{% pageinfo %}}
Welcome to the SelfPrivacy documentation!
{{% /pageinfo %}}