mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-04-30 18:37:05 +08:00
docs: even further adjusting chapter numbers in menu #402
This commit is contained in:
parent
fc3878c89b
commit
bacbcf2aba
@ -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 }}
|
@ -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 }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user