forked from drowl87/hextra_mirror
chore: use index as fallback option
This commit is contained in:
parent
2004648076
commit
66489e5274
@ -4,7 +4,7 @@
|
|||||||
directory. For example, the English sidebar data is stored in `data/en/sidebar.yaml`.
|
directory. For example, the English sidebar data is stored in `data/en/sidebar.yaml`.
|
||||||
*/}}
|
*/}}
|
||||||
{{ $data := "" }}
|
{{ $data := "" }}
|
||||||
{{ $section := .Section | default "" }}
|
{{ $section := .Section | default "index" }}
|
||||||
{{ $filename := "sidebar" }}
|
{{ $filename := "sidebar" }}
|
||||||
|
|
||||||
{{ if hugo.IsMultilingual }}
|
{{ if hugo.IsMultilingual }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user