Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/qqhann/hugo-primer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqqhann <qiu.gits@gmail.com>2019-12-02 16:53:23 +0300
committerqqhann <qiu.gits@gmail.com>2019-12-02 16:53:23 +0300
commit231eb353774b995441acef27297a967acdd38ddb (patch)
tree22f5c60d3d5f9b008d10a66b9a0389d645ce230e
parent00685036484b4faf5704527db0c89412c9634235 (diff)
Update: _index.md for primer; example structure
-rw-r--r--exampleSite/content/_index.md24
-rw-r--r--exampleSite/content/homepage/about.md7
-rw-r--r--exampleSite/content/homepage/index.md3
-rw-r--r--exampleSite/content/homepage/work.md7
-rw-r--r--exampleSite/content/post/_index.md7
5 files changed, 24 insertions, 24 deletions
diff --git a/exampleSite/content/_index.md b/exampleSite/content/_index.md
index 6abc75e..b630594 100644
--- a/exampleSite/content/_index.md
+++ b/exampleSite/content/_index.md
@@ -1,4 +1,22 @@
-+++
-author = "Hugo Authors"
-+++
+---
+title: "Hugo-Primer"
+type: "top"
+menu: "main"
+---
+**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.
+
+Visit the [homepage](https://github.com/qqhann/hugo-primer) to try it now, and leave me a star if you like it!
+
+## ExampleSite
+
+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.
+
+"Hugo-Primer" and "Blog" are provided by hugo-primer.
+
+Notice how we utilize `menu: "main"` in the frontmatter.
diff --git a/exampleSite/content/homepage/about.md b/exampleSite/content/homepage/about.md
deleted file mode 100644
index 7b4bc91..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 01ffa31..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
index f8374e6..2d9c493 100644
--- a/exampleSite/content/post/_index.md
+++ b/exampleSite/content/post/_index.md
@@ -1,6 +1,5 @@
+++
-aliases = ["posts","articles","blog","showcase","docs"]
-title = "Posts"
+title = "Basic Example"
author = "Hugo Authors"
-tags = ["index"]
-+++ \ No newline at end of file
+menu = "main"
++++