mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
Ability to stick header to the top of the page
If enabled, header with top menu will be always visible regardless of scrolling.
This commit is contained in:

committed by
Greg Korba

parent
e0fc64c43e
commit
84e941d50a
@ -39,7 +39,7 @@
|
||||
</script>
|
||||
{{- end }}
|
||||
|
||||
<header class="header">
|
||||
<header class="header {{ if (site.Params.stickyHeader) }}header-sticky{{ end }}">
|
||||
<nav class="nav">
|
||||
<div class="logo">
|
||||
{{- $label_text := (site.Params.label.text | default site.Title) }}
|
||||
|
Reference in New Issue
Block a user