summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2022-01-03 20:41:21 +0000
committerMatthew Lemon <lemon@matthewlemon.com>2022-01-03 20:41:21 +0000
commit47932676235b90cdf033c31fdc62d52cfed7f168 (patch)
treec65c014cf22074049801f5616cfd40c7cf7cd12c
parentf4b565e1221c6efe22b89b23c018a0b7215181ff (diff)
better stuff with templates
-rw-r--r--config.toml2
-rw-r--r--content/blog/cats/cat_kills/index.md2
-rw-r--r--content/blog/intro.md1
-rw-r--r--layouts/blog/li.html (renamed from layouts/_default/li.html)2
-rw-r--r--layouts/blog/single.html4
5 files changed, 6 insertions, 5 deletions
diff --git a/config.toml b/config.toml
index b6c7a57..69cf5d4 100644
--- a/config.toml
+++ b/config.toml
@@ -17,7 +17,7 @@ pygmentsUseClasses = true
identifier = "blog"
name = "blog"
title = "blog"
- url = "/"
+ url = "/blog/"
weight = 10
[[menu.main]]
diff --git a/content/blog/cats/cat_kills/index.md b/content/blog/cats/cat_kills/index.md
index cd9975e..36212db 100644
--- a/content/blog/cats/cat_kills/index.md
+++ b/content/blog/cats/cat_kills/index.md
@@ -24,7 +24,7 @@ suspect we're not seeing the victims...</em></p>
<col span="1" style="width:30%;" />
<col \>
<col \>
- <col span="1" style="background-color:pink; width:15%" />
+ <col span="1" style="width:15%" />
<col \>
<col \>
<col style="width:40%">
diff --git a/content/blog/intro.md b/content/blog/intro.md
index 5e7d346..8df6209 100644
--- a/content/blog/intro.md
+++ b/content/blog/intro.md
@@ -2,6 +2,7 @@
title: "Test Page"
date: 2021-05-17T19:39:13+01:00
draft: false
+category: "cats"
---
# Introduction
diff --git a/layouts/_default/li.html b/layouts/blog/li.html
index b5939f5..cb44e71 100644
--- a/layouts/_default/li.html
+++ b/layouts/blog/li.html
@@ -19,6 +19,6 @@
<span id="vim-category">[{{ lower .Params.Category }}]</span>
{{ end }}
{{ end }}
- <small><time>{{ .Date.Format "2 Jan 2006" }}</time></small>
+ <small><time>{{ .Date.Format "2 Jan, 2006" }}</time></small>
</a>
</li>
diff --git a/layouts/blog/single.html b/layouts/blog/single.html
index a89da2b..698be33 100644
--- a/layouts/blog/single.html
+++ b/layouts/blog/single.html
@@ -5,9 +5,9 @@
<div>
{{- if isset .Params "date" -}}
{{ if eq .Lastmod .Date }}
- <time>{{ .Date.Format "Monday 2 Jan 2006" }}</time>
+ <time>{{ .Date.Format "Monday 2 Jan, 2006" }}</time>
{{ else }}
- Updated <time>{{ .Lastmod.Format "January 2, 2006" }}</time>
+ Updated <time>{{ .Lastmod.Format "Monday 2 Jan, 2006" }}</time>
{{ end }}
{{- end -}}
</div>