summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomeo Disca <romeo.disca@gmail.com>2019-04-26 17:37:24 +0200
committerRomeo Disca <romeo.disca@gmail.com>2019-04-26 17:45:46 +0200
commitdb54470826faf8cf826f2bea804598ea502ab912 (patch)
treebb0317586158219fe131315467ed2483ba018633
parent56b90d3deae11bdda58c15505c5c0a0662caa3ea (diff)
add blog entries
-rw-r--r--content/blog/blog1.md10
-rw-r--r--content/blog/blog2.md10
-rw-r--r--content/blog/blog3.md10
-rw-r--r--content/blog/blog4.md10
-rw-r--r--themes/rusticus/archetypes/blog.md10
-rw-r--r--themes/rusticus/layouts/partials/home/front-page-summary.html3
6 files changed, 50 insertions, 3 deletions
diff --git a/content/blog/blog1.md b/content/blog/blog1.md
new file mode 100644
index 0000000..4722506
--- /dev/null
+++ b/content/blog/blog1.md
@@ -0,0 +1,10 @@
+---
+title: "Blog1"
+date: 2019-04-26T17:36:29+02:00
+draft: true
+
+tags:
+
+summary: This is a summary
+---
+
diff --git a/content/blog/blog2.md b/content/blog/blog2.md
new file mode 100644
index 0000000..3802d8f
--- /dev/null
+++ b/content/blog/blog2.md
@@ -0,0 +1,10 @@
+---
+title: "Blog2"
+date: 2019-04-26T17:36:42+02:00
+draft: true
+
+tags:
+
+summary: This is a summary
+---
+
diff --git a/content/blog/blog3.md b/content/blog/blog3.md
new file mode 100644
index 0000000..fdc1120
--- /dev/null
+++ b/content/blog/blog3.md
@@ -0,0 +1,10 @@
+---
+title: "Blog3"
+date: 2019-04-26T17:36:45+02:00
+draft: true
+
+tags:
+
+summary: This is a summary
+---
+
diff --git a/content/blog/blog4.md b/content/blog/blog4.md
new file mode 100644
index 0000000..055a65d
--- /dev/null
+++ b/content/blog/blog4.md
@@ -0,0 +1,10 @@
+---
+title: "Blog4"
+date: 2019-04-26T17:36:48+02:00
+draft: true
+
+tags:
+
+summary: This is a summary
+---
+
diff --git a/themes/rusticus/archetypes/blog.md b/themes/rusticus/archetypes/blog.md
new file mode 100644
index 0000000..06f9d0c
--- /dev/null
+++ b/themes/rusticus/archetypes/blog.md
@@ -0,0 +1,10 @@
+---
+title: "{{ replace .Name "-" " " | title }}"
+date: {{ .Date }}
+draft: true
+
+tags:
+
+summary: This is a summary
+---
+
diff --git a/themes/rusticus/layouts/partials/home/front-page-summary.html b/themes/rusticus/layouts/partials/home/front-page-summary.html
index 773503e..325a59f 100644
--- a/themes/rusticus/layouts/partials/home/front-page-summary.html
+++ b/themes/rusticus/layouts/partials/home/front-page-summary.html
@@ -1,5 +1,3 @@
-
-
<ul class="front-page-summary">
{{ $page := .context.Site.GetPage "section" .section }}
{{ $pages := $page.Pages.ByExpiryDate }}
@@ -15,4 +13,3 @@
</li>
{{ end }}
</ul>
-