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

github.com/darshanbaral/mero.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarshan Baral <darshanbaral@gmail.com>2019-06-02 02:51:25 +0300
committerDarshan Baral <darshanbaral@gmail.com>2019-06-19 07:26:53 +0300
commit62ffdf049d81237d9031696f6940da2417a9e217 (patch)
treea2c53cff4d6e1280f690749c812e2de06f29813c /exampleSite
parent364e92fe6752dd7132678145a6da7d964153a8d7 (diff)
updated theme to allow for more sections
separate by section instead of category Added section previews in home page Added pagination to sections Added pagination to single pages Added dropdown menu Style Changes Consolidated Files Reorganized social icons Section Previews in Home Page Menu is now auto generated Updated archetype Added _index.md for sections Updated contents Metadata for pages Reorganized homepage Style updates Removal/Reorganization Reorganization Updated theme.toml
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/archetypes/default.md17
-rw-r--r--exampleSite/config.toml32
-rw-r--r--exampleSite/content/alltaxa/_index.md3
-rw-r--r--exampleSite/content/archive/_index.md3
-rw-r--r--exampleSite/content/blogs/_index.md3
-rw-r--r--exampleSite/content/blogs/blog-1.md (renamed from exampleSite/content/posts/post (6).md)16
-rw-r--r--exampleSite/content/blogs/blog-2.md (renamed from exampleSite/content/posts/post (5).md)16
-rw-r--r--exampleSite/content/post/_index.md3
-rw-r--r--exampleSite/content/post/post (1).md (renamed from exampleSite/content/posts/post (1).md)45
-rw-r--r--exampleSite/content/post/post (2).md (renamed from exampleSite/content/posts/post (2).md)16
-rw-r--r--exampleSite/content/post/post (3).md (renamed from exampleSite/content/posts/post (3).md)16
-rw-r--r--exampleSite/content/post/post (4).md (renamed from exampleSite/content/posts/post (4).md)16
12 files changed, 89 insertions, 97 deletions
diff --git a/exampleSite/archetypes/default.md b/exampleSite/archetypes/default.md
index 22a7858..ceb447e 100644
--- a/exampleSite/archetypes/default.md
+++ b/exampleSite/archetypes/default.md
@@ -1,6 +1,11 @@
----
-title: "{{ replace .Name "-" " " | title }}"
-date: {{ .Date }}
-draft: true
----
-
++++
+title = ""
+date = "{{ .Date }}"
+tags = [""]
+categories = [""]
+description = ""
+draft = true
+mainImage = ""
+mainImageThumbnail = ""
+mainImageCaption = ""
++++ \ No newline at end of file
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index acfa8a2..133e2d2 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -2,39 +2,13 @@ baseURL = "http://example.org/"
languageCode = "en-us"
title = "My Blog"
theme = "mero"
+disableKinds = ["taxonomyTerm"]
[params]
+ dateFormat = "2006-01-02"
author = "Firstname Lastname"
description = "My awesome blog"
-
-[menu]
- [[menu.main]]
- identifier = "home"
- name = "Home"
- title = "home"
- url = "/"
- weight = 100
-
- [[menu.main]]
- identifier = "posts"
- name = "Posts"
- title = "posts"
- url = "/posts/"
- weight = 200
-
- [[menu.main]]
- identifier = "categories"
- name = "Categories"
- title = "categories"
- url = "/categories/"
- weight = 300
-
- [[menu.main]]
- identifier = "tags"
- name = "Tags"
- title = "tags"
- url = "/tags/"
- weight = 400
+ mainImage = "images/main.jpeg"
[params.introduction]
text = "**This website** is my blog. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
diff --git a/exampleSite/content/alltaxa/_index.md b/exampleSite/content/alltaxa/_index.md
new file mode 100644
index 0000000..4656760
--- /dev/null
+++ b/exampleSite/content/alltaxa/_index.md
@@ -0,0 +1,3 @@
++++
+title = "taxa"
++++ \ No newline at end of file
diff --git a/exampleSite/content/archive/_index.md b/exampleSite/content/archive/_index.md
new file mode 100644
index 0000000..99ef1ec
--- /dev/null
+++ b/exampleSite/content/archive/_index.md
@@ -0,0 +1,3 @@
+---
+title: "Archive"
+--- \ No newline at end of file
diff --git a/exampleSite/content/blogs/_index.md b/exampleSite/content/blogs/_index.md
new file mode 100644
index 0000000..0f9a56c
--- /dev/null
+++ b/exampleSite/content/blogs/_index.md
@@ -0,0 +1,3 @@
++++
+title= "Blogs"
++++ \ No newline at end of file
diff --git a/exampleSite/content/posts/post (6).md b/exampleSite/content/blogs/blog-1.md
index 2a4114c..0a1e207 100644
--- a/exampleSite/content/posts/post (6).md
+++ b/exampleSite/content/blogs/blog-1.md
@@ -1,9 +1,9 @@
-+++
-title = "Title of the post 6"
-date = "2018-12-15"
-tags = ["other"]
-categories = ["Category 11"]
-description = "A brief summary for the post 6."
-+++
-
++++
+title = "Title of the blog 1"
+date = "2019-01-01"
+tags = ["random"]
+categories = ["Category 1"]
+description = "A brief summary for the blog 1"
++++
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. \ No newline at end of file
diff --git a/exampleSite/content/posts/post (5).md b/exampleSite/content/blogs/blog-2.md
index 736fb0c..c2f92d2 100644
--- a/exampleSite/content/posts/post (5).md
+++ b/exampleSite/content/blogs/blog-2.md
@@ -1,9 +1,9 @@
-+++
-title = "Title of the post 5"
-date = "2018-10-10"
-tags = ["other"]
-categories = ["Category 11"]
-description = "A brief summary for the post 5"
-+++
-
++++
+title = "Title of the blog 2"
+date = "2018-12-11"
+tags = ["random1", "random2"]
+categories = ["Category 11"]
+description = "A brief summary for the blog 2"
++++
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. \ No newline at end of file
diff --git a/exampleSite/content/post/_index.md b/exampleSite/content/post/_index.md
new file mode 100644
index 0000000..13f12a3
--- /dev/null
+++ b/exampleSite/content/post/_index.md
@@ -0,0 +1,3 @@
++++
+title= "Posts"
++++ \ No newline at end of file
diff --git a/exampleSite/content/posts/post (1).md b/exampleSite/content/post/post (1).md
index 49e40fa..b0148a3 100644
--- a/exampleSite/content/posts/post (1).md
+++ b/exampleSite/content/post/post (1).md
@@ -1,23 +1,24 @@
-+++
-title = "Create new hugo theme"
-date = "2018-12-10"
-tags = ["tutorial"]
-categories = ["Hugo"]
-description = "A brief summary for the post 1. And this is slightly longer than the others. And this one also has three sentences. Nevermind, this one actually has four sentences."
-+++
-
-The `hugo new theme` command will scaffold the beginnings of a new theme for you to get you on your way.
-
-If you’re creating a theme with plans to share it on the Hugo Themes website please note the following: - If using inline styles you will need to use absolute URLs, for the linked assets to be served properly, e.g. `<div style="background: url('{{ "images/background.jpg" | absURL }}')">` - Make sure not to use a forward slash `/` in the beginning of a `URL`, because it will point to the host root. Your theme’s demo will be available in a subdirectory of the Hugo website and in this scenario Hugo will not generate the correct `URL` for theme assets. - If using external CSS and JS from a CDN, make sure to load these assets over `https`. Please do not use relative protocol URLs in your theme’s templates.
-
-Hugo can initialize a new blank theme directory within your existing themes using the hugo new command:
-
-```
-hugo new theme [name]
-```
-
-An image is here.
-
-{{< figure src="/images/post1/post1_skyline.jpeg" caption="Awesome Caption *Here*" >}}
-
++++
+title = "Create new hugo theme"
+date = "2019-05-10"
+tags = ["tutorial"]
+categories = ["Hugo"]
+description = "A brief summary for the post 1. And this is slightly longer than the others. And this one also has three sentences. Nevermind, this one actually has four sentences."
+mainImage = "images/post1/post1_skyline.jpeg"
+mainImageThumbnail = "images/post1/post1_skyline_tn.jpeg"
+mainImageCaption = "Awesome Caption *Here*"
++++
+
+The `hugo new theme` command will scaffold the beginnings of a new theme for you to get you on your way.
+
+If you’re creating a theme with plans to share it on the Hugo Themes website please note the following: - If using inline styles you will need to use absolute URLs, for the linked assets to be served properly, e.g. `<div style="background: url('{{ "images/background.jpg" | absURL }}')">` - Make sure not to use a forward slash `/` in the beginning of a `URL`, because it will point to the host root. Your theme’s demo will be available in a subdirectory of the Hugo website and in this scenario Hugo will not generate the correct `URL` for theme assets. - If using external CSS and JS from a CDN, make sure to load these assets over `https`. Please do not use relative protocol URLs in your theme’s templates.
+
+Hugo can initialize a new blank theme directory within your existing themes using the hugo new command:
+
+```
+hugo new theme [name]
+```
+
+An image is here.
+
If you’re creating a theme with plans to share it on the Hugo Themes website please note the following: - If using inline styles you will need to use absolute URLs, for the linked assets to be served properly, e.g. `<div style="background: url('{{ "images/background.jpg" | absURL }}')">` - Make sure not to use a forward slash `/` in the beginning of a `URL`, because it will point to the host root. Your theme’s demo will be available in a subdirectory of the Hugo website and in this scenario Hugo will not generate the correct `URL` for theme assets. - If using external CSS and JS from a CDN, make sure to load these assets over `https`. Please do not use relative protocol URLs in your theme’s templates. \ No newline at end of file
diff --git a/exampleSite/content/posts/post (2).md b/exampleSite/content/post/post (2).md
index b787436..7a1b70e 100644
--- a/exampleSite/content/posts/post (2).md
+++ b/exampleSite/content/post/post (2).md
@@ -1,9 +1,9 @@
-+++
-title = "Title of the post 2"
-date = "2018-12-11"
-tags = ["random1", "random2"]
-categories = ["Category 11"]
-description = "A brief summary for the post 2"
-+++
-
++++
+title = "Title of the post 2"
+date = "2018-12-11"
+tags = ["random1", "random2"]
+categories = ["Category 11"]
+description = "A brief summary for the post 2"
++++
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. \ No newline at end of file
diff --git a/exampleSite/content/posts/post (3).md b/exampleSite/content/post/post (3).md
index 7724539..8099e3f 100644
--- a/exampleSite/content/posts/post (3).md
+++ b/exampleSite/content/post/post (3).md
@@ -1,9 +1,9 @@
-+++
-title = "Title of the post 3"
-date = "2018-12-12"
-tags = ["random"]
-categories = ["Category 1"]
-description = "A brief summary for the post 3"
-+++
-
++++
+title = "Title of the post 3"
+date = "2018-12-12"
+tags = ["random"]
+categories = ["Category 1"]
+description = "A brief summary for the post 3"
++++
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. \ No newline at end of file
diff --git a/exampleSite/content/posts/post (4).md b/exampleSite/content/post/post (4).md
index 85a0892..3e78bef 100644
--- a/exampleSite/content/posts/post (4).md
+++ b/exampleSite/content/post/post (4).md
@@ -1,9 +1,9 @@
-+++
-title = "Title of the post 4"
-date = "2018-11-10"
-tags = ["random"]
-categories = ["Category 1"]
-description = "A brief summary for the post 4"
-+++
-
++++
+title = "Title of the post 4"
+date = "2018-11-10"
+tags = ["random"]
+categories = ["Category 1"]
+description = "A brief summary for the post 4"
++++
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. \ No newline at end of file