diff --git a/assets/img/commons/avatar.jpg b/exampleSite/assets/img/commons/avatar.jpg similarity index 100% rename from assets/img/commons/avatar.jpg rename to exampleSite/assets/img/commons/avatar.jpg diff --git a/config/_default/languages.toml b/exampleSite/config/_default/languages.toml similarity index 100% rename from config/_default/languages.toml rename to exampleSite/config/_default/languages.toml diff --git a/config/_default/markup.toml b/exampleSite/config/_default/markup.toml similarity index 100% rename from config/_default/markup.toml rename to exampleSite/config/_default/markup.toml diff --git a/config/_default/params.toml b/exampleSite/config/_default/params.toml similarity index 96% rename from config/_default/params.toml rename to exampleSite/config/_default/params.toml index 0f018f9..fa04e68 100644 --- a/config/_default/params.toml +++ b/exampleSite/config/_default/params.toml @@ -1,4 +1,3 @@ -theme_version = "5.2.0" toc = true avatar = "img/commons/avatar.jpg" author = "yifan" diff --git a/content/_index.en.md b/exampleSite/content/_index.en.md similarity index 100% rename from content/_index.en.md rename to exampleSite/content/_index.en.md diff --git a/content/_index.zh-CN.md b/exampleSite/content/_index.zh-CN.md similarity index 100% rename from content/_index.zh-CN.md rename to exampleSite/content/_index.zh-CN.md diff --git a/content/about/index.en.md b/exampleSite/content/about/index.en.md similarity index 100% rename from content/about/index.en.md rename to exampleSite/content/about/index.en.md diff --git a/content/about/index.zh-CN.md b/exampleSite/content/about/index.zh-CN.md similarity index 100% rename from content/about/index.zh-CN.md rename to exampleSite/content/about/index.zh-CN.md diff --git a/content/archives/index.en.html b/exampleSite/content/archives/index.en.html similarity index 100% rename from content/archives/index.en.html rename to exampleSite/content/archives/index.en.html diff --git a/content/archives/index.zh-CN.html b/exampleSite/content/archives/index.zh-CN.html similarity index 100% rename from content/archives/index.zh-CN.html rename to exampleSite/content/archives/index.zh-CN.html diff --git a/content/categories/_index.en.md b/exampleSite/content/categories/_index.en.md similarity index 100% rename from content/categories/_index.en.md rename to exampleSite/content/categories/_index.en.md diff --git a/content/categories/_index.zh-CN.md b/exampleSite/content/categories/_index.zh-CN.md similarity index 100% rename from content/categories/_index.zh-CN.md rename to exampleSite/content/categories/_index.zh-CN.md diff --git a/content/post/2019-08-08-text-and-typography/devices-mockup.png b/exampleSite/content/post/2019-08-08-text-and-typography/devices-mockup.png similarity index 100% rename from content/post/2019-08-08-text-and-typography/devices-mockup.png rename to exampleSite/content/post/2019-08-08-text-and-typography/devices-mockup.png diff --git a/content/post/2019-08-08-text-and-typography/devtools-dark.png b/exampleSite/content/post/2019-08-08-text-and-typography/devtools-dark.png similarity index 100% rename from content/post/2019-08-08-text-and-typography/devtools-dark.png rename to exampleSite/content/post/2019-08-08-text-and-typography/devtools-dark.png diff --git a/content/post/2019-08-08-text-and-typography/devtools-light.png b/exampleSite/content/post/2019-08-08-text-and-typography/devtools-light.png similarity index 100% rename from content/post/2019-08-08-text-and-typography/devtools-light.png rename to exampleSite/content/post/2019-08-08-text-and-typography/devtools-light.png diff --git a/content/post/2019-08-08-text-and-typography/index.en.md b/exampleSite/content/post/2019-08-08-text-and-typography/index.en.md similarity index 100% rename from content/post/2019-08-08-text-and-typography/index.en.md rename to exampleSite/content/post/2019-08-08-text-and-typography/index.en.md diff --git a/content/post/2019-08-08-text-and-typography/index.zh-CN.md b/exampleSite/content/post/2019-08-08-text-and-typography/index.zh-CN.md similarity index 100% rename from content/post/2019-08-08-text-and-typography/index.zh-CN.md rename to exampleSite/content/post/2019-08-08-text-and-typography/index.zh-CN.md diff --git a/content/post/2019-08-08-text-and-typography/mockup.png b/exampleSite/content/post/2019-08-08-text-and-typography/mockup.png similarity index 100% rename from content/post/2019-08-08-text-and-typography/mockup.png rename to exampleSite/content/post/2019-08-08-text-and-typography/mockup.png diff --git a/content/post/2019-08-08-write-a-new-post/index.en.md b/exampleSite/content/post/2019-08-08-write-a-new-post/index.en.md similarity index 100% rename from content/post/2019-08-08-write-a-new-post/index.en.md rename to exampleSite/content/post/2019-08-08-write-a-new-post/index.en.md diff --git a/content/post/2019-08-08-write-a-new-post/index.zh-CN.md b/exampleSite/content/post/2019-08-08-write-a-new-post/index.zh-CN.md similarity index 100% rename from content/post/2019-08-08-write-a-new-post/index.zh-CN.md rename to exampleSite/content/post/2019-08-08-write-a-new-post/index.zh-CN.md diff --git a/content/post/2019-08-09-getting-started/index.en.md b/exampleSite/content/post/2019-08-09-getting-started/index.en.md similarity index 100% rename from content/post/2019-08-09-getting-started/index.en.md rename to exampleSite/content/post/2019-08-09-getting-started/index.en.md diff --git a/content/post/2019-08-09-getting-started/index.zh-CN.md b/exampleSite/content/post/2019-08-09-getting-started/index.zh-CN.md similarity index 100% rename from content/post/2019-08-09-getting-started/index.zh-CN.md rename to exampleSite/content/post/2019-08-09-getting-started/index.zh-CN.md diff --git a/content/post/2019-08-09-getting-started/pages-source-dark.png b/exampleSite/content/post/2019-08-09-getting-started/pages-source-dark.png similarity index 100% rename from content/post/2019-08-09-getting-started/pages-source-dark.png rename to exampleSite/content/post/2019-08-09-getting-started/pages-source-dark.png diff --git a/content/post/2019-08-09-getting-started/pages-source-light.png b/exampleSite/content/post/2019-08-09-getting-started/pages-source-light.png similarity index 100% rename from content/post/2019-08-09-getting-started/pages-source-light.png rename to exampleSite/content/post/2019-08-09-getting-started/pages-source-light.png diff --git a/content/post/2019-08-11-customize-the-favicon/index.en.md b/exampleSite/content/post/2019-08-11-customize-the-favicon/index.en.md similarity index 100% rename from content/post/2019-08-11-customize-the-favicon/index.en.md rename to exampleSite/content/post/2019-08-11-customize-the-favicon/index.en.md diff --git a/content/post/2019-08-11-customize-the-favicon/index.zh-CN.md b/exampleSite/content/post/2019-08-11-customize-the-favicon/index.zh-CN.md similarity index 100% rename from content/post/2019-08-11-customize-the-favicon/index.zh-CN.md rename to exampleSite/content/post/2019-08-11-customize-the-favicon/index.zh-CN.md diff --git a/content/tags/_index.en.md b/exampleSite/content/tags/_index.en.md similarity index 100% rename from content/tags/_index.en.md rename to exampleSite/content/tags/_index.en.md diff --git a/content/tags/_index.zh-CN.md b/exampleSite/content/tags/_index.zh-CN.md similarity index 100% rename from content/tags/_index.zh-CN.md rename to exampleSite/content/tags/_index.zh-CN.md diff --git a/data/authors/en.yaml b/exampleSite/data/authors/en.yaml similarity index 100% rename from data/authors/en.yaml rename to exampleSite/data/authors/en.yaml diff --git a/data/authors/zh-CN.yaml b/exampleSite/data/authors/zh-CN.yaml similarity index 100% rename from data/authors/zh-CN.yaml rename to exampleSite/data/authors/zh-CN.yaml diff --git a/exampleSite/hugo.toml b/exampleSite/hugo.toml new file mode 100644 index 0000000..a6296ba --- /dev/null +++ b/exampleSite/hugo.toml @@ -0,0 +1,18 @@ +title = 'Chirpy' +enableGitInfo = true +theme = "hugo-theme-chirpy" +themesDir = "../../" + +defaultContentLanguage = "en" +defaultContentLanguageInSubdir = false +hasCJKLanguage = true + +[pagination] + pagerSize = 5 + +[outputs] + home = ["HTML", "RSS", "JSON"] + +[taxonomies] + category = "categories" + tag = "tags"