mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
docs: even further adjusting chapter numbers in menu #402
This commit is contained in:
parent
fc3878c89b
commit
bacbcf2aba
2 changed files with 2 additions and 4 deletions
|
@ -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…
Reference in a new issue