diff --git a/exampleSite/hugo.toml b/exampleSite/hugo.toml index dea2c74..afcb932 100644 --- a/exampleSite/hugo.toml +++ b/exampleSite/hugo.toml @@ -41,40 +41,40 @@ enableGitInfo = true [menu] [[menu.home]] - name = "Documentation" - pageRef = "/docs/example/" + name = 'Documentation' + pageRef = '/docs/example/' weight = 1 [[menu.home]] - pageRef = "/docs/example/" + pageRef = '/docs/example/' weight = 10 - parent = "Documentation" + parent = 'Documentation' [[menu.home]] - name = "Shortcodes" - pageRef = "/docs/shortcodes/badges/" + name = 'Shortcodes' + pageRef = '/docs/shortcodes/badges/' weight = 20 - parent = "Documentation" + parent = 'Documentation' [[menu.home]] - name = "Showcases" - pageRef = "/showcases/" + name = 'Showcases' + pageRef = '/showcases/' weight = 2 [[menu.home]] - name = "Github" - url = "https://github.com/alex-shpak/hugo-book/" + name = 'Github' + url = 'https://github.com/alex-shpak/hugo-book/' weight = 3 # [[menu.before]] [[menu.after]] - name = "Github" - url = "https://github.com/alex-shpak/hugo-book/" + name = 'Github' + url = 'https://github.com/alex-shpak/hugo-book/' weight = 10 [[menu.after]] - name = "Hugo Themes" - url = "https://themes.gohugo.io/themes/hugo-book/" + name = 'Hugo Themes' + url = 'https://themes.gohugo.io/themes/hugo-book/' weight = 20 [params] @@ -138,7 +138,7 @@ enableGitInfo = true # /!\ This is an experimental feature, might be removed or changed at any time # (Optional, experimental, default false) Enables service worker that caches visited pages and resources for offline use. - BookServiceWorker = "precache" + BookServiceWorker = 'precache' # /!\ This is an experimental feature, might be removed or changed at any time # (Optional, experimental, default false) Enables a drop-down menu for translations only if a translation is present. diff --git a/exampleSite/hugo.yaml b/exampleSite/hugo.yaml index 0f03366..dd2baf0 100644 --- a/exampleSite/hugo.yaml +++ b/exampleSite/hugo.yaml @@ -124,7 +124,7 @@ params: # /!\ This is an experimental feature, might be removed or changed at any time # (Optional, experimental, default false) Enables service worker that caches visited pages and resources for offline use. # can be false, true or 'precache', precache will try to download all content pages on install. - BookServiceWorker: 'precache' + BookServiceWorker: "precache" # /!\ This is an experimental feature, might be removed or changed at any time # (Optional, experimental, default false) Enables a drop-down menu for translations only if a translation is present. diff --git a/go.mod b/go.mod index 3e9c89b..4d8ff19 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module github.com/alex-shpak/hugo-book +module github.com/alex-shpak/hugo-book/v12 go 1.16 diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..73a49bc --- /dev/null +++ b/hugo.toml @@ -0,0 +1,4 @@ +[module] +[module.hugoVersion] + extended = true + min = "0.146.0" \ No newline at end of file