diff --git a/README.md b/README.md index a117376..7b017d9 100644 --- a/README.md +++ b/README.md @@ -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 ../.. diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 66083db..76f74e3 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -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 diff --git a/layouts/partials/navbar/site-nav.html b/layouts/partials/navbar/site-nav.html index 00500bd..7ff9c0d 100644 --- a/layouts/partials/navbar/site-nav.html +++ b/layouts/partials/navbar/site-nav.html @@ -18,20 +18,20 @@ {{ range .Site.Menus.main -}} {{ if .HasChildren }} {{ else }} - {{ .Name }} + {{ safeHTML .Name }} {{ end }} {{ end }}