docs: even further adjusting chapter numbers in menu #402

This commit is contained in:
Sören Weber 2022-11-23 00:28:24 +01:00
parent fc3878c89b
commit bacbcf2aba
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
2 changed files with 2 additions and 4 deletions

View file

@ -1 +1 @@
{{ if (eq .Params.archetype "chapter") }}<b style="display: inline-block; text-align: right; width: 1.1rem;">{{ .Params.weight }}.</b> {{ end }}
{{ if (eq .Params.archetype "chapter") }}<b style="display: inline-block; font-weight: 200; padding-left: .3rem; text-align: left; width: 1.1rem;">{{ .Params.weight }}.</b> {{ end }}

View file

@ -19,9 +19,7 @@
{{- if not .Site.Params.disableLandingPageButton }}
<div id="homelinks" class="default-animation">
<ul>
<li>
<a class="padding" href="{{ partial "relLangPrettyUglyURL.hugo" (dict "to" .Site.Home) }}">{{ .Site.Params.landingPageName | default `<i class="fas fa-home"></i> Home` | safeHTML }}</a>
</li>
<li><a class="padding" href="{{ partial "relLangPrettyUglyURL.hugo" (dict "to" .Site.Home) }}">{{ .Site.Params.landingPageName | default `<i class="fas fa-home"></i> Home` | safeHTML }}</a></li>
</ul>
</div>
{{- end }}