From ed49811edaee1601ebbe8a2e5513507a19ee7c4b Mon Sep 17 00:00:00 2001 From: nodejh Date: Sun, 28 Feb 2021 21:36:41 +0800 Subject: [PATCH] feat: update exampleSite --- .gitignore | 7 +++++-- exampleSite/config.yaml | 2 +- exampleSite/content/_index.md | 3 --- exampleSite/content/{about.md => about/_index.md} | 0 exampleSite/content/archives.md | 5 ----- exampleSite/content/homepage/about.md | 7 ------- exampleSite/content/homepage/index.md | 3 --- exampleSite/content/homepage/work.md | 7 ------- exampleSite/content/post/_index.md | 6 ------ exampleSite/content/{post => posts}/emoji-support.md | 0 exampleSite/content/{post => posts}/markdown-syntax.md | 0 exampleSite/content/{post => posts}/math-typesetting.md | 0 exampleSite/content/{post => posts}/placeholder-text.md | 0 exampleSite/content/{post => posts}/rich-content.md | 0 14 files changed, 6 insertions(+), 34 deletions(-) delete mode 100644 exampleSite/content/_index.md rename exampleSite/content/{about.md => about/_index.md} (100%) delete mode 100644 exampleSite/content/archives.md delete mode 100644 exampleSite/content/homepage/about.md delete mode 100644 exampleSite/content/homepage/index.md delete mode 100644 exampleSite/content/homepage/work.md delete mode 100644 exampleSite/content/post/_index.md rename exampleSite/content/{post => posts}/emoji-support.md (100%) rename exampleSite/content/{post => posts}/markdown-syntax.md (100%) rename exampleSite/content/{post => posts}/math-typesetting.md (100%) rename exampleSite/content/{post => posts}/placeholder-text.md (100%) rename exampleSite/content/{post => posts}/rich-content.md (100%) diff --git a/.gitignore b/.gitignore index 958340e..f7d4722 100644 --- a/.gitignore +++ b/.gitignore @@ -1,12 +1,15 @@ # Hugo default output directory /public -## OS Files # Windows Thumbs.db ehthumbs.db Desktop.ini $RECYCLE.BIN/ -# OSX +# MacOS .DS_Store + +# exampleSite +exampleSite/themes +exampleSite/public \ No newline at end of file diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 122067a..7818e95 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -1,4 +1,4 @@ -baseURL: https://gohugo.io +baseURL: https://example.com languageCode: en-us title: Hugo Themes theme: mini diff --git a/exampleSite/content/_index.md b/exampleSite/content/_index.md deleted file mode 100644 index ed6494b..0000000 --- a/exampleSite/content/_index.md +++ /dev/null @@ -1,3 +0,0 @@ -+++ -author = "Hugo Authors" -+++ diff --git a/exampleSite/content/about.md b/exampleSite/content/about/_index.md similarity index 100% rename from exampleSite/content/about.md rename to exampleSite/content/about/_index.md diff --git a/exampleSite/content/archives.md b/exampleSite/content/archives.md deleted file mode 100644 index db16eed..0000000 --- a/exampleSite/content/archives.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -date: 2019-05-28 -type: section -layout: "archives" ---- diff --git a/exampleSite/content/homepage/about.md b/exampleSite/content/homepage/about.md deleted file mode 100644 index b5d6981..0000000 --- a/exampleSite/content/homepage/about.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: 'Our Difference' -button: 'About us' -weight: 2 ---- - -Lorem ipsum dolor sit amet, et essent mediocritatem quo, choro volumus oporteat an mei. Ipsum dolor sit amet, et essent mediocritatem quo. diff --git a/exampleSite/content/homepage/index.md b/exampleSite/content/homepage/index.md deleted file mode 100644 index ca03031..0000000 --- a/exampleSite/content/homepage/index.md +++ /dev/null @@ -1,3 +0,0 @@ ---- -headless: true ---- diff --git a/exampleSite/content/homepage/work.md b/exampleSite/content/homepage/work.md deleted file mode 100644 index f99bc99..0000000 --- a/exampleSite/content/homepage/work.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: 'We Help Business Grow' -button: 'Our Work' -weight: 1 ---- - -Lorem ipsum dolor sit amet, et essent mediocritatem quo, choro volumus oporteat an mei. Numquam dolores mel eu, mea docendi omittantur et, mea ea duis erat. Elit melius cu ius. Per ex novum tantas putant, ei his nullam aliquam apeirian. Aeterno quaestio constituto sea an, no eum intellegat assueverit. diff --git a/exampleSite/content/post/_index.md b/exampleSite/content/post/_index.md deleted file mode 100644 index 8a084d9..0000000 --- a/exampleSite/content/post/_index.md +++ /dev/null @@ -1,6 +0,0 @@ -+++ -aliases = ["posts", "articles", "blog", "showcase", "docs"] -title = "Posts" -author = "Hugo Authors" -tags = ["index"] -+++ diff --git a/exampleSite/content/post/emoji-support.md b/exampleSite/content/posts/emoji-support.md similarity index 100% rename from exampleSite/content/post/emoji-support.md rename to exampleSite/content/posts/emoji-support.md diff --git a/exampleSite/content/post/markdown-syntax.md b/exampleSite/content/posts/markdown-syntax.md similarity index 100% rename from exampleSite/content/post/markdown-syntax.md rename to exampleSite/content/posts/markdown-syntax.md diff --git a/exampleSite/content/post/math-typesetting.md b/exampleSite/content/posts/math-typesetting.md similarity index 100% rename from exampleSite/content/post/math-typesetting.md rename to exampleSite/content/posts/math-typesetting.md diff --git a/exampleSite/content/post/placeholder-text.md b/exampleSite/content/posts/placeholder-text.md similarity index 100% rename from exampleSite/content/post/placeholder-text.md rename to exampleSite/content/posts/placeholder-text.md diff --git a/exampleSite/content/post/rich-content.md b/exampleSite/content/posts/rich-content.md similarity index 100% rename from exampleSite/content/post/rich-content.md rename to exampleSite/content/posts/rich-content.md