From a090b3382f888f6ca0a4b07ad6705f5dde021dd1 Mon Sep 17 00:00:00 2001 From: zzossig Date: Tue, 5 Nov 2019 12:11:32 +0900 Subject: [PATCH] update exampleSite config.toml --- exampleSite/config.toml | 154 +++++++++++++++++++++ exampleSite/config/_default/config.toml | 25 ---- exampleSite/config/_default/languages.toml | 9 -- exampleSite/config/_default/menus.en.toml | 39 ------ exampleSite/config/_default/menus.ko.toml | 39 ------ exampleSite/config/_default/params.toml | 35 ----- 6 files changed, 154 insertions(+), 147 deletions(-) create mode 100644 exampleSite/config.toml delete mode 100644 exampleSite/config/_default/config.toml delete mode 100644 exampleSite/config/_default/languages.toml delete mode 100644 exampleSite/config/_default/menus.en.toml delete mode 100644 exampleSite/config/_default/menus.ko.toml delete mode 100644 exampleSite/config/_default/params.toml diff --git a/exampleSite/config.toml b/exampleSite/config.toml new file mode 100644 index 0000000..11ca2c7 --- /dev/null +++ b/exampleSite/config.toml @@ -0,0 +1,154 @@ +baseURL = "http://example.org" +title = "Hugo Zzo Theme" +theme = "zzo" +themesdir = "../.." + +defaultContentLanguage = "en" +defaultContentLanguageInSubdir = true +hasCJKLanguage = false + +summaryLength = 70 + +googleAnalytics = "" +copyright = "MIT©zzossig" +timeout = 10000 +enableEmoji = true +paginate = 7 +rssLimit = 100 + +[outputs] + home = [ "HTML", "RSS", "JSON" ] + +[taxonomies] + category = "categories" + tag = "tags" + series = "series" + +[params] + description = "The Zzo theme for Hugo example site." + + # body + enableToc = true + enableBreadcrumb = true + enableCustomScrollbar = true + enablePhotoSwipe = true + enableSearch = true + enableMark = true + + # sidebar + enableSidebarTags = true + enableSidebarSeries = true + enableSidebarCategories = true + + # footer + showPoweredBy = true + showFeedLinks = true + showSocialLinks = true + enableLangChange = true + enableThemeChange = true + themeOptions = ["dark", "light", "hacker", "solarized"] + + [params.socialOptions] + facebook = "http://example.org" + twitter = "http://example.org" + github = "http://example.org" + stack-overflow = "" + instagram = "" + google-plus = "" + youtube = "" + medium = "" + tumblr = "" + linkedin = "" + pinterest = "http://example.org" + stack-exchange = "" + +[languages] +[languages.en] + title = "Hugo Zzo Theme" + languageName = "English" + weight = 1 + +[[languages.en.menu.main]] + identifier = "about" + name = "about" + url = "about" + weight = 10 + +[[languages.en.menu.main]] + identifier = "archive" + name = "archive" + url = "archive" + weight = 11 + +[[languages.en.menu.main]] + identifier = "gallery" + name = "gallery" + url = "gallery" + weight = 12 + +[[languages.en.menu.main]] + parent = "gallery" + name = "cartoon" + url = "gallery/cartoon" + +[[languages.en.menu.main]] + parent = "gallery" + name = "photo" + url = "gallery/photo" + +[[languages.en.menu.main]] + identifier = "posts" + name = "posts" + url = "posts" + weight = 13 + +[[languages.en.menu.main]] + identifier = "notes" + name = "notes" + url = "notes" + weight = 14 + +[languages.ko] + title = "Hugo Zzo Theme" + languageName = "한국어" + weight = 2 + +[[languages.ko.menu.main]] + identifier = "about" + name = "about" + url = "about" + weight = 20 + +[[languages.ko.menu.main]] + identifier = "archive" + name = "archive" + url = "archive" + weight = 21 + +[[languages.ko.menu.main]] + identifier = "gallery" + name = "gallery" + url = "gallery" + weight = 22 + +[[languages.ko.menu.main]] + parent = "gallery" + name = "cartoon" + url = "gallery/cartoon" + +[[languages.ko.menu.main]] + parent = "gallery" + name = "photo" + url = "gallery/photo" + +[[languages.ko.menu.main]] + identifier = "posts" + name = "posts" + url = "posts" + weight = 23 + +[[languages.ko.menu.main]] + identifier = "notes" + name = "notes" + url = "notes" + weight = 24 \ No newline at end of file diff --git a/exampleSite/config/_default/config.toml b/exampleSite/config/_default/config.toml deleted file mode 100644 index 079584a..0000000 --- a/exampleSite/config/_default/config.toml +++ /dev/null @@ -1,25 +0,0 @@ -baseURL = "http://example.org" -title = "Hugo Zzo Theme" -theme = "zzo" -themesdir = "../.." - -defaultContentLanguage = "en" -defaultContentLanguageInSubdir = true -hasCJKLanguage = false - -summaryLength = 70 - -googleAnalytics = "" -copyright = "MIT©zzossig" -timeout = 10000 -enableEmoji = true -paginate = 7 -rssLimit = 100 - -[outputs] - home = [ "HTML", "RSS", "JSON" ] - -[taxonomies] - category = "categories" - tag = "tags" - series = "series" diff --git a/exampleSite/config/_default/languages.toml b/exampleSite/config/_default/languages.toml deleted file mode 100644 index 16cd56b..0000000 --- a/exampleSite/config/_default/languages.toml +++ /dev/null @@ -1,9 +0,0 @@ -[en] - title = "Hugo Zzo Theme" - languageName = "English" - weight = 1 - -[ko] - title = "Hugo Zzo Theme" - languageName = "한국어" - weight = 2 \ No newline at end of file diff --git a/exampleSite/config/_default/menus.en.toml b/exampleSite/config/_default/menus.en.toml deleted file mode 100644 index 6cb78fe..0000000 --- a/exampleSite/config/_default/menus.en.toml +++ /dev/null @@ -1,39 +0,0 @@ -[[main]] - identifier = "about" - name = "about" - url = "about" - weight = 10 - -[[main]] - identifier = "archive" - name = "archive" - url = "archive" - weight = 11 - -[[main]] - identifier = "gallery" - name = "gallery" - url = "gallery" - weight = 12 - -[[main]] - parent = "gallery" - name = "cartoon" - url = "gallery/cartoon" - -[[main]] - parent = "gallery" - name = "photo" - url = "gallery/photo" - -[[main]] - identifier = "posts" - name = "posts" - url = "posts" - weight = 13 - -[[main]] - identifier = "notes" - name = "notes" - url = "notes" - weight = 14 \ No newline at end of file diff --git a/exampleSite/config/_default/menus.ko.toml b/exampleSite/config/_default/menus.ko.toml deleted file mode 100644 index d5995a4..0000000 --- a/exampleSite/config/_default/menus.ko.toml +++ /dev/null @@ -1,39 +0,0 @@ -[[main]] - identifier = "about" - name = "about" - url = "about" - weight = 20 - -[[main]] - identifier = "archive" - name = "archive" - url = "archive" - weight = 21 - -[[main]] - identifier = "gallery" - name = "gallery" - url = "gallery" - weight = 22 - -[[main]] - parent = "gallery" - name = "cartoon" - url = "gallery/cartoon" - -[[main]] - parent = "gallery" - name = "photo" - url = "gallery/photo" - -[[main]] - identifier = "posts" - name = "posts" - url = "posts" - weight = 23 - -[[main]] - identifier = "notes" - name = "notes" - url = "notes" - weight = 24 \ No newline at end of file diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml deleted file mode 100644 index f13ccc3..0000000 --- a/exampleSite/config/_default/params.toml +++ /dev/null @@ -1,35 +0,0 @@ -description = "The Zzo theme for Hugo example site." - -# body -enableToc = true -enableBreadcrumb = true -enableCustomScrollbar = true -enablePhotoSwipe = true -enableSearch = true -enableMark = true - -# sidebar -enableSidebarTags = true -enableSidebarSeries = true -enableSidebarCategories = true - -# footer -showPoweredBy = true -showFeedLinks = true -showSocialLinks = true -enableLangChange = true -enableThemeChange = true -themeOptions = ["dark", "light", "hacker", "solarized"] -[socialOptions] - facebook = "http://example.org/" - twitter = "http://example.org/" - github = "http://example.org/" - stack-overflow = "" - instagram = "" - google-plus = "" - youtube = "" - medium = "" - tumblr = "" - linkedin = "" - pinterest = "http://example.org/" - stack-exchange = "" \ No newline at end of file