summaryrefslogtreecommitdiffstats
path: root/themes/aoidh
diff options
context:
space:
mode:
Diffstat (limited to 'themes/aoidh')
-rw-r--r--themes/aoidh/assets/aoidh.css2
-rw-r--r--themes/aoidh/layouts/_partials/date.html3
2 files changed, 5 insertions, 0 deletions
diff --git a/themes/aoidh/assets/aoidh.css b/themes/aoidh/assets/aoidh.css
index fbaa7c1..0d52fc3 100644
--- a/themes/aoidh/assets/aoidh.css
+++ b/themes/aoidh/assets/aoidh.css
@@ -179,6 +179,8 @@ footer :last-child {
hr {
border-top: .1rem solid #000;
+ margin-top: 0;
+ margin-bottom: 1em;
}
blockquote {
diff --git a/themes/aoidh/layouts/_partials/date.html b/themes/aoidh/layouts/_partials/date.html
new file mode 100644
index 0000000..39e108c
--- /dev/null
+++ b/themes/aoidh/layouts/_partials/date.html
@@ -0,0 +1,3 @@
+{{- $machine := . | time.Format "2006-01-02T15:04:05-07:00" -}}
+{{- $human := . | time.Format "2006-01-02" -}}
+<time datetime="{{ $machine }}">{{ $human }}</time>