From 6e1ff92a2d4e8674d40cc914d2128b891425ed8d Mon Sep 17 00:00:00 2001 From: zzossig Date: Tue, 10 Dec 2019 10:33:18 +0900 Subject: [PATCH] exampleSite edited --- README.ko.md | 10 +++++-- README.md | 10 +++++-- exampleSite/config/_default/config.toml | 26 ++++------------- exampleSite/config/_default/languages.toml | 12 ++++---- exampleSite/config/_default/menus.en.toml | 6 ++++ exampleSite/config/_default/menus.ko.toml | 34 ---------------------- exampleSite/config/_default/params.toml | 22 +++++++------- 7 files changed, 42 insertions(+), 78 deletions(-) delete mode 100644 exampleSite/config/_default/menus.ko.toml diff --git a/README.ko.md b/README.ko.md index 38f818c..2b64d76 100644 --- a/README.ko.md +++ b/README.ko.md @@ -119,15 +119,19 @@ enableEmoji = true paginate = 13 # Number of items per page in paginated lists. rssLimit = 100 -pygmentsOptions = "linenos=table" -pygmentsUseClasses = true - googleAnalytics = "" [markup] [markup.goldmark] [markup.goldmark.renderer] + hardWraps = true unsafe = true + xHTML = true + [markup.highlight] + codeFences = true + lineNos = true + lineNumbersInTable = true + noClasses = false [outputs] home = ["HTML", "RSS", "JSON", "WEBMANIFEST"] diff --git a/README.md b/README.md index be78c03..2cc6f2f 100644 --- a/README.md +++ b/README.md @@ -114,15 +114,19 @@ enableEmoji = true paginate = 13 # Number of items per page in paginated lists. rssLimit = 100 -pygmentsOptions = "linenos=table" -pygmentsUseClasses = true - googleAnalytics = "" [markup] [markup.goldmark] [markup.goldmark.renderer] + hardWraps = true unsafe = true + xHTML = true + [markup.highlight] + codeFences = true + lineNos = true + lineNumbersInTable = true + noClasses = false [outputs] home = ["HTML", "RSS", "JSON", "WEBMANIFEST"] diff --git a/exampleSite/config/_default/config.toml b/exampleSite/config/_default/config.toml index fe83522..6d55781 100644 --- a/exampleSite/config/_default/config.toml +++ b/exampleSite/config/_default/config.toml @@ -1,13 +1,14 @@ -baseURL = "" +baseURL = "http://example.org/" +title = "Hugo Zzo Theme" theme = "zzo" -defaultContentLanguage = "ko" +defaultContentLanguage = "en" defaultContentLanguageInSubdir = true hasCJKLanguage = true summaryLength = 70 -copyright = "©{year}, ZZOSSIG All Rights Reserved" +copyright = "©{year}, All Rights Reserved" timeout = 10000 enableEmoji = true paginate = 13 @@ -17,32 +18,15 @@ googleAnalytics = "" [markup] [markup.goldmark] - [markup.goldmark.extensions] - definitionList = true - footnote = true - linkify = true - strikethrough = true - table = true - taskList = true - typographer = true - [markup.goldmark.parser] - attribute = true - autoHeadingID = true [markup.goldmark.renderer] hardWraps = true unsafe = true xHTML = true [markup.highlight] codeFences = true - hl_Lines = "" - lineNoStart = 1 lineNos = true lineNumbersInTable = true noClasses = false - tabWidth = 4 - [markup.tableOfContents] - endLevel = 3 - startLevel = 2 [outputs] home = ["HTML", "RSS", "JSON", "WEBMANIFEST"] @@ -55,7 +39,7 @@ googleAnalytics = "" baseName = "webmanifest" mediaType = "application/manifest+json" rel = "manifest" - + [taxonomies] category = "categories" tag = "tags" diff --git a/exampleSite/config/_default/languages.toml b/exampleSite/config/_default/languages.toml index fc2ca28..475add0 100644 --- a/exampleSite/config/_default/languages.toml +++ b/exampleSite/config/_default/languages.toml @@ -1,9 +1,9 @@ -[ko] - title = "쪼식이 블로그" - languageName = "한국어" - weight = 1 - [en] - title = "Zzossig's Blog" + title = "Hugo Zzo Theme" languageName = "English" + weight = 1 + +[ko] + title = "Hugo Zzo Theme" + languageName = "한국어" weight = 2 diff --git a/exampleSite/config/_default/menus.en.toml b/exampleSite/config/_default/menus.en.toml index edcdeec..eef39d7 100644 --- a/exampleSite/config/_default/menus.en.toml +++ b/exampleSite/config/_default/menus.en.toml @@ -10,6 +10,12 @@ url = "archive" weight = 2 +[[main]] + identifier = "pt" + name = "pt" + url = "pt" + weight = 3 + [[main]] identifier = "gallery" name = "gallery" diff --git a/exampleSite/config/_default/menus.ko.toml b/exampleSite/config/_default/menus.ko.toml deleted file mode 100644 index da48305..0000000 --- a/exampleSite/config/_default/menus.ko.toml +++ /dev/null @@ -1,34 +0,0 @@ -[[main]] - identifier = "about" - name = "어바웃" - url = "about" - weight = 1 - -[[main]] - identifier = "archive" - name = "아카이브" - url = "archive" - weight = 2 - -[[main]] - identifier = "gallery" - name = "갤러리" - url = "gallery" - weight = 3 - -[[main]] - parent = "gallery" - name = "fiverr" - url = "gallery/mine" - -[[main]] - identifier = "posts" - name = "포스트" - url = "posts" - weight = 4 - -[[main]] - identifier = "notes" - name = "노트" - url = "notes" - weight = 5 \ No newline at end of file diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml index 2968855..cd3d501 100644 --- a/exampleSite/config/_default/params.toml +++ b/exampleSite/config/_default/params.toml @@ -1,5 +1,5 @@ -logoText = "" -description = "쪼식이 블로그" +logoText = "Zzo" +description = "The Zzo theme for Hugo example site." custom_css = [] custom_js = [] @@ -18,12 +18,12 @@ archivePaginate = 13 paginateWindow = 1 # whoami -myname = "최성환" +myname = "zzossig" email = "zzossig@gmail.com" -whoami = "성장중인 프로그래머" -useGravatar = true +whoami = "Web Developer" +useGravatar = false location = "Seoul, Korea" -organization = "" +organization = "Hugo" link = "https://github.com/zzossig/hugo-theme-zzo" # sidebar @@ -42,7 +42,7 @@ showFeedLinks = true showSocialLinks = true enableLangChange = true enableThemeChange = true -themeOptions = ["light", "dark", "hacker", "solarized", "custom"] +themeOptions = ["dark", "light", "hacker", "solarized", "custom"] # service baiduAnalytics = "" @@ -99,11 +99,11 @@ commento = false dataAttrs = "" # "data-isso='https://isso.example.com' data-isso-require-author='true'" [socialOptions] - email = "mailto:zzossig@gmail.com" - facebook = "" - twitter = "https://twitter.com/zzossig" + email = "mailto:your@email.com" + facebook = "http://example.org/" + twitter = "http://example.org/" github = "https://github.com/zzossig/hugo-theme-zzo" - stack-overflow = "https://stackoverflow.com/users/11747951/zzossig" + stack-overflow = "" instagram = "" google-plus = "" youtube = ""