diff options
author | qqhann <qiu.gits@gmail.com> | 2019-12-02 17:18:08 +0300 |
---|---|---|
committer | qqhann <qiu.gits@gmail.com> | 2019-12-02 17:18:08 +0300 |
commit | 8444c13a621f9f3f6748ad0293e77eefa30b21b3 (patch) | |
tree | 081bddfd26c5a4e1798b4729fc213b09d8fe0b8c | |
parent | 231eb353774b995441acef27297a967acdd38ddb (diff) |
Update: instruction md and directory name
-rw-r--r-- | exampleSite/content/_index.md | 13 | ||||
-rw-r--r-- | exampleSite/content/basic_example/emoji-support.md (renamed from exampleSite/content/post/emoji-support.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/basic_example/markdown-syntax.md (renamed from exampleSite/content/post/markdown-syntax.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/basic_example/math-typesetting.mmark (renamed from exampleSite/content/post/math-typesetting.mmark) | 0 | ||||
-rw-r--r-- | exampleSite/content/basic_example/placeholder-text.md (renamed from exampleSite/content/post/placeholder-text.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/basic_example/rich-content.md (renamed from exampleSite/content/post/rich-content.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/post/_index.md | 5 |
7 files changed, 11 insertions, 7 deletions
diff --git a/exampleSite/content/_index.md b/exampleSite/content/_index.md index b630594..df44c00 100644 --- a/exampleSite/content/_index.md +++ b/exampleSite/content/_index.md @@ -2,9 +2,11 @@ title: "Hugo-Primer" type: "top" menu: "main" +weight: 1 --- **A simple and beautiful Hugo theme based on GitHub's Primer CSS** + This theme would be a perfect fit if you are used to GitHub style pages. Hugo-Primer is a theme based on GitHub style css: Primer, and adds some blog like features onto it. @@ -15,8 +17,15 @@ Visit the [homepage](https://github.com/qqhann/hugo-primer) to try it now, and l Use the `exampleSite` as a reference, or copy to quick satart. As you navicate through the exampleSite menu, -"About" and "Basic Example" are from hugoBasicExample provided by hugo. +"About" and "Basic Example" contents are from hugoBasicExample provided by hugo. -"Hugo-Primer" and "Blog" are provided by hugo-primer. +"Hugo-Primer" is provided by hugo-primer. +And all of them are optimized to demonstrate how to use hugo-primer. Notice how we utilize `menu: "main"` in the frontmatter. +And `weight: 1` decides the order they appear in the nav bar. + +Finally, `type: "top"` is a special indicatior. +It is supposed to be used at top page. +This page use it too. +As you might notice, "top" page will not have toc like other single type page. diff --git a/exampleSite/content/post/emoji-support.md b/exampleSite/content/basic_example/emoji-support.md index 9764661..9764661 100644 --- a/exampleSite/content/post/emoji-support.md +++ b/exampleSite/content/basic_example/emoji-support.md diff --git a/exampleSite/content/post/markdown-syntax.md b/exampleSite/content/basic_example/markdown-syntax.md index d4327cd..d4327cd 100644 --- a/exampleSite/content/post/markdown-syntax.md +++ b/exampleSite/content/basic_example/markdown-syntax.md diff --git a/exampleSite/content/post/math-typesetting.mmark b/exampleSite/content/basic_example/math-typesetting.mmark index 7f421ae..7f421ae 100644 --- a/exampleSite/content/post/math-typesetting.mmark +++ b/exampleSite/content/basic_example/math-typesetting.mmark diff --git a/exampleSite/content/post/placeholder-text.md b/exampleSite/content/basic_example/placeholder-text.md index 378b995..378b995 100644 --- a/exampleSite/content/post/placeholder-text.md +++ b/exampleSite/content/basic_example/placeholder-text.md diff --git a/exampleSite/content/post/rich-content.md b/exampleSite/content/basic_example/rich-content.md index a067cd0..a067cd0 100644 --- a/exampleSite/content/post/rich-content.md +++ b/exampleSite/content/basic_example/rich-content.md diff --git a/exampleSite/content/post/_index.md b/exampleSite/content/post/_index.md deleted file mode 100644 index 2d9c493..0000000 --- a/exampleSite/content/post/_index.md +++ /dev/null @@ -1,5 +0,0 @@ -+++ -title = "Basic Example" -author = "Hugo Authors" -menu = "main" -+++ |