diff options
author | Wang Chucheng <ccwangchn@gmail.com> | 2020-11-03 18:17:14 +0300 |
---|---|---|
committer | Wang Chucheng <ccwangchn@gmail.com> | 2020-11-03 18:17:14 +0300 |
commit | 73bb59cd33887e325a3a6e1b7919bdc0d3107129 (patch) | |
tree | 40e9588a232c92d8f139e30cdc4e8d19639cdc97 /exampleSite | |
parent | 7b3a75908bab9eeae4166c87260365327ca931c2 (diff) |
refactor: update exampleSite
Diffstat (limited to 'exampleSite')
12 files changed, 24 insertions, 25 deletions
diff --git a/exampleSite/config/_default/menus.toml b/exampleSite/config/_default/menus.toml index e8456ce..a18c35b 100644 --- a/exampleSite/config/_default/menus.toml +++ b/exampleSite/config/_default/menus.toml @@ -1,14 +1,14 @@ [[main]] name = "About" url = "/about/" - weight = 10 + weight = 1 [[main]] name = "Posts" - url = "/post/" - weight = 20 + url = "/posts/" + weight = 2 [[main]] name = "Docs" url = "/docs/" - weight = 30
\ No newline at end of file + weight = 3
\ No newline at end of file diff --git a/exampleSite/content/docs/example-doc/_index.md b/exampleSite/content/docs/example-doc/_index.md index a3d7c97..2401ab3 100644 --- a/exampleSite/content/docs/example-doc/_index.md +++ b/exampleSite/content/docs/example-doc/_index.md @@ -7,8 +7,8 @@ authors = [] tags = [] categories = [] series = [] -date = 2020-10-16 -lastmod = 2020-10-16 +date = "2020-10-16" +lastmod = "2020-10-16" draft = false +++ diff --git a/exampleSite/content/docs/example-doc/chapter-1.md b/exampleSite/content/docs/example-doc/chapter-1.md index 4d76a55..b166903 100644 --- a/exampleSite/content/docs/example-doc/chapter-1.md +++ b/exampleSite/content/docs/example-doc/chapter-1.md @@ -7,8 +7,8 @@ authors = [] tags = [] categories = [] series = [] -date = 2020-10-16 -lastmod = 2020-10-16 +date = "2020-10-16" +lastmod = "2020-10-16" draft = false +++ diff --git a/exampleSite/content/docs/example-doc/chapter-2.md b/exampleSite/content/docs/example-doc/chapter-2.md index ad8fba7..f847ae1 100644 --- a/exampleSite/content/docs/example-doc/chapter-2.md +++ b/exampleSite/content/docs/example-doc/chapter-2.md @@ -7,8 +7,8 @@ authors = [] tags = [] categories = [] series = [] -date = 2020-10-16 -lastmod = 2020-10-16 +date = "2020-10-16" +lastmod = "2020-10-16" draft = false +++ diff --git a/exampleSite/content/docs/example-doc/nested-chapter/_index.md b/exampleSite/content/docs/example-doc/nested-chapter/_index.md index e41c179..2972a0e 100644 --- a/exampleSite/content/docs/example-doc/nested-chapter/_index.md +++ b/exampleSite/content/docs/example-doc/nested-chapter/_index.md @@ -7,8 +7,8 @@ authors = [] tags = [] categories = [] series = [] -date = 2020-10-16 -lastmod = 2020-10-16 +date = "2020-10-16" +lastmod = "2020-10-16" draft = false +++ diff --git a/exampleSite/content/docs/example-doc/nested-chapter/chapter-1.md b/exampleSite/content/docs/example-doc/nested-chapter/chapter-1.md index a01fe34..827b7b5 100644 --- a/exampleSite/content/docs/example-doc/nested-chapter/chapter-1.md +++ b/exampleSite/content/docs/example-doc/nested-chapter/chapter-1.md @@ -7,8 +7,8 @@ authors = [] tags = [] categories = [] series = [] -date = 2020-10-16 -lastmod = 2020-10-16 +date = "2020-10-16" +lastmod = "2020-10-16" draft = false +++ diff --git a/exampleSite/content/docs/example-doc/nested-chapter/chapter-2.md b/exampleSite/content/docs/example-doc/nested-chapter/chapter-2.md index 208ad59..e203d90 100644 --- a/exampleSite/content/docs/example-doc/nested-chapter/chapter-2.md +++ b/exampleSite/content/docs/example-doc/nested-chapter/chapter-2.md @@ -7,8 +7,8 @@ authors = [] tags = [] categories = [] series = [] -date = 2020-10-16 -lastmod = 2020-10-16 +date = "2020-10-16" +lastmod = "2020-10-16" draft = false +++ diff --git a/exampleSite/content/post/_index.md b/exampleSite/content/posts/_index.md index c22710f..c22710f 100644 --- a/exampleSite/content/post/_index.md +++ b/exampleSite/content/posts/_index.md diff --git a/exampleSite/content/post/emoji-support.md b/exampleSite/content/posts/emoji-support.md index 4ac9886..eed8685 100644 --- a/exampleSite/content/post/emoji-support.md +++ b/exampleSite/content/posts/emoji-support.md @@ -7,8 +7,8 @@ authors = ["Hugo Authors"] tags = ["emoji"] categories = [] series = [] -date = 2019-03-05 -lastmod = 2019-03-05 +date = "2019-03-05" +lastmod = "2019-03-05" draft = false +++ diff --git a/exampleSite/content/post/featured-image.md b/exampleSite/content/posts/featured-image.md index e458540..8098faf 100644 --- a/exampleSite/content/post/featured-image.md +++ b/exampleSite/content/posts/featured-image.md @@ -7,8 +7,8 @@ authors = ["Example Author"] tags = ["image"] categories = ["themes"] series = ["Themes Guide"] -date = 2020-05-26 -lastmod = 2020-05-26 +date = "2020-05-26" +lastmod = "2020-05-26" draft = false featuredImage = "images/hero-right.jpg" diff --git a/exampleSite/content/post/markdown-syntax.md b/exampleSite/content/posts/markdown-syntax.md index 003eb55..299b561 100644 --- a/exampleSite/content/post/markdown-syntax.md +++ b/exampleSite/content/posts/markdown-syntax.md @@ -7,10 +7,9 @@ authors = ["Hugo Authors"] tags = ["markdown", "css", "html", "themes"] categories = ["themes", "syntax"] series = ["Themes Guide"] -date = 2019-03-11 -lastmod = 2019-03-11 +date = "2019-03-11" +lastmod = "2019-03-11" draft = false -aliases = ["migrate-from-jekyl"] +++ This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme. diff --git a/exampleSite/content/post/placeholder-text.md b/exampleSite/content/posts/placeholder-text.md index 7ef0e1a..b74c052 100644 --- a/exampleSite/content/post/placeholder-text.md +++ b/exampleSite/content/posts/placeholder-text.md @@ -7,8 +7,8 @@ authors = ["Hugo Authors", "Example Author"] tags = ["markdown", "text"] categories = [] series = ["Themes Guide"] -date = 2019-03-09 -lastmod = 2019-03-09 +date = "2019-03-09" +lastmod = "2019-03-09" draft = false +++ |