commit 732534b3678869b350d533ceb42c286ae82e7545
parent e492c397c3c72e810135ace806caa43526b39bf2
Author: Luke Smith <luke@lukesmith.xyz>
Date: Thu, 26 May 2022 20:46:49 -0400
more
Diffstat:
4 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
@@ -2,8 +2,11 @@
<header><h1>{{ .Title }}</h1></header>
+<article>
+
{{ .Content }}
+<ul>
{{ range.Pages }}
<li>
@@ -12,5 +15,8 @@
</li>
{{ end }}
+</ul>
+
+</article>
{{ partial "footer.html" . }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
@@ -2,6 +2,10 @@
<header><h1>{{ .Title }}</h1></header>
+<article>
+
{{ .Content }}
+</article>
+
{{ partial "footer.html" . }}
diff --git a/layouts/_default/tag.html b/layouts/_default/tag.html
@@ -1,10 +1,14 @@
{{ partial "header.html" . }}
-<header><h1>{{ .Title | title }}</h1></header>
+<header><h1 id="tag_{{ .Title }}">{{ .Title | title }}</h1></header>
+
+<article>
{{ .Content }}
<ul class=tagartlist>
{{ range.Pages }}<li><time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "2006 Jan 02" }}</time> – <a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}</ul>
+</article>
+
{{ partial "footer.html" . }}
diff --git a/layouts/shortcodes/tagcloud.html b/layouts/shortcodes/tagcloud.html
@@ -1,3 +1,3 @@
-{{ if isset .Site.Taxonomies "tags" }}{{ if not (eq (len .Site.Taxonomies.tags) 0) }} <div id="tagcloud">
- {{ range $name, $items := .Site.Taxonomies.tags }}{{ $url := printf "%s/%s" "tags" ($name | urlize | lower)}}<a href="{{ $url | absURL }}" id="tag_{{ $name }}">{{ $name | title }}</a>
- {{ end }}</div>{{ end }}{{ end }}
+{{ if isset .Site.Taxonomies "tags" }}{{ if not (eq (len .Site.Taxonomies.tags) 0) }} <ul id="tagcloud">
+ {{ range $name, $items := .Site.Taxonomies.tags }}{{ $url := printf "%s/%s" "tags" ($name | urlize | lower)}}<li><a href="{{ $url | absURL }}" id="tag_{{ $name }}">{{ $name | title }}</a></li>
+ {{ end }}</ul>{{ end }}{{ end }}