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

github.com/mikeblum/hugo-now.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormblum <me@mblum.me>2017-07-03 19:05:51 +0300
committermblum <me@mblum.me>2017-07-03 23:33:19 +0300
commit2f20f0da66e208e89a17e62fce4a8e18eefa946a (patch)
tree6b700d605a703298fa99df507c702993be71216f
parentd620ca4617e99f338eecc70a3d23ec3360efebbf (diff)
[ARCHETYPE] Post
-rw-r--r--archetypes/default.md3
-rw-r--r--archetypes/post.md27
-rw-r--r--layouts/section/post.html0
-rw-r--r--static/images/Insert_image_here.svg1
4 files changed, 14 insertions, 17 deletions
diff --git a/archetypes/default.md b/archetypes/default.md
index fb4abed..6ddc9d6 100644
--- a/archetypes/default.md
+++ b/archetypes/default.md
@@ -5,8 +5,5 @@ slug = ""
tags = [
""
]
-categories = [
- ""
-]
draft = true
+++ \ No newline at end of file
diff --git a/archetypes/post.md b/archetypes/post.md
index 8606141..230b115 100644
--- a/archetypes/post.md
+++ b/archetypes/post.md
@@ -1,18 +1,19 @@
-+++
-title = ""
-date = ""
-slug = ""
-tags = [
- ""
-]
-categories = [
- ""
-]
-draft = true
-+++
+---
+title: "{{ replace .TranslationBaseName "-" " " | title }}"
+date: {{ .Date }}
+draft: true
+---
<div class="well content-header">
<img src="/images/insert_image_here.svg" alt="insert image here" />
</div>
-<!--more--> \ No newline at end of file
+<!--more-->
+
+---
+
+<!--
+ Section links are seperated with a |
+-->
+
+[Section A](#Section-A) | [Section B](#Section-B) \ No newline at end of file
diff --git a/layouts/section/post.html b/layouts/section/post.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/layouts/section/post.html
diff --git a/static/images/Insert_image_here.svg b/static/images/Insert_image_here.svg
deleted file mode 100644
index a7dc19e..0000000
--- a/static/images/Insert_image_here.svg
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" width="320" height="240"><text xml:space="preserve" style="font-size:42px;font-family:Bitstream Vera Sans" x="18" y="98">[Insert Image</text><text xml:space="preserve" style="font-size:42px;font-family:Bitstream Vera Sans" x="101" y="152">Here]</text></svg> \ No newline at end of file