mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-04-30 16:54:49 +08:00
fix jumping navbar
This commit is contained in:
parent
aff3307ff5
commit
2bbbf604a9
@ -41,6 +41,7 @@
|
||||
<div id="overlay"></div>
|
||||
<div class="padding highlightable sticky-parent">
|
||||
{{if not .IsHome}}
|
||||
<div class="sticky-spacer">
|
||||
<div id="top-bar">
|
||||
{{ if and (or .IsPage .IsSection) .Site.Params.editURL }}
|
||||
{{ $File := .File }}
|
||||
@ -72,6 +73,7 @@
|
||||
{{ partial "toc.html" . }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Params.chapter }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user