summaryrefslogtreecommitdiffstats
path: root/themes/rusticus
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 /themes/rusticus
parent56b90d3deae11bdda58c15505c5c0a0662caa3ea (diff)
add blog entries
Diffstat (limited to 'themes/rusticus')
-rw-r--r--themes/rusticus/archetypes/blog.md10
-rw-r--r--themes/rusticus/layouts/partials/home/front-page-summary.html3
2 files changed, 10 insertions, 3 deletions
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>
-