config.toml updated
This commit is contained in:
parent
943ff8c714
commit
771735121b
|
@ -101,7 +101,7 @@ git submodule update --remote --merge
|
|||
|
||||
## Run example site
|
||||
|
||||
From the root of themes/zen/exampleSite:
|
||||
From the root of themes/zzo/exampleSite:
|
||||
|
||||
```bash
|
||||
hugo server --themesDir ../..
|
||||
|
|
|
@ -2,9 +2,11 @@ baseURL = "http://example.org"
|
|||
title = "Hugo Zzo Theme"
|
||||
theme = "zzo"
|
||||
themesdir = "../.."
|
||||
assetDir = "../assets"
|
||||
layoutDir = "../layouts"
|
||||
|
||||
defaultContentLanguage = "en"
|
||||
defaultContentLanguageInSubdir = false
|
||||
defaultContentLanguageInSubdir = true
|
||||
hasCJKLanguage = false
|
||||
|
||||
summaryLength = 70
|
||||
|
|
|
@ -18,20 +18,20 @@
|
|||
{{ range .Site.Menus.main -}}
|
||||
{{ if .HasChildren }}
|
||||
<div class="navbar__dropdown">
|
||||
<a href="{{ .URL | absLangURL }}" class="navbar__menu-item">
|
||||
{{ .Name }}
|
||||
<a href="{{ .URL | relLangURL }}" class="navbar__menu-item">
|
||||
{{ safeHTML .Name }}
|
||||
<span class="navbar__menu-icon">
|
||||
{{ partial "svgs/arrow/keyboard-arrow-down.svg" (dict "width" 18 "height" 18) }}
|
||||
</span>
|
||||
</a>
|
||||
<div class="navbar__dropdown--content">
|
||||
{{ range .Children }}
|
||||
<a href="{{ .URL | absLangURL }}" class="navbar__dropdown--item">{{ .Name }}</a>
|
||||
<a href="{{ .URL | relLangURL }}" class="navbar__dropdown--item">{{ safeHTML .Name }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
{{ else }}
|
||||
<a href="{{ .URL | absLangURL }}" class="navbar__menu-item">{{ .Name }}</a>
|
||||
<a href="{{ .URL | relLangURL }}" class="navbar__menu-item">{{ safeHTML .Name }}</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue