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

github.com/jpescador/hugo-future-imperfect.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulio Pescador <jpescador@users.noreply.github.com>2016-02-26 08:53:11 +0300
committerJulio Pescador <jpescador@users.noreply.github.com>2016-02-26 08:53:11 +0300
commit912fe5e5d1084f545740ce41894881e571fc768e (patch)
treed1ef13f10bbc79eaf896e4ed3e2c59d55d991671
parent6069b2977ff273d740eed5505197b50b8351c05d (diff)
Creating new archetype called blog
This archetype will be of type post which is set by default in the archetype. However, the post content list template will need to be moved to the _default directory so that the url to /blog/ list content will work.
-rw-r--r--archetypes/blog.md9
-rw-r--r--layouts/_default/list.html (renamed from layouts/section/post.html)0
2 files changed, 9 insertions, 0 deletions
diff --git a/archetypes/blog.md b/archetypes/blog.md
new file mode 100644
index 0000000..b310a86
--- /dev/null
+++ b/archetypes/blog.md
@@ -0,0 +1,9 @@
++++
+author = ""
+categories = []
+description = ""
+linktitle = ""
+featured = ""
+featuredpath = ""
+type = "post"
++++
diff --git a/layouts/section/post.html b/layouts/_default/list.html
index a45f4b9..a45f4b9 100644
--- a/layouts/section/post.html
+++ b/layouts/_default/list.html