summaryrefslogtreecommitdiffstats
path: root/themes/problematic/layouts
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-07-18 08:57:48 +0100
committerMatthew Lemon <matt@matthewlemon.com>2022-07-18 08:57:48 +0100
commit65547c56d0b81371cadb7bf799b4ab863b5f0a4e (patch)
tree1f642ee0afb3792aa59aac53bcd445ddde9ccb1e /themes/problematic/layouts
parentf43d1ec014e1b15a88492b3f1f2d1bdbaab7b529 (diff)
taxonomies amongst other stuff
Diffstat (limited to 'themes/problematic/layouts')
-rw-r--r--themes/problematic/layouts/_default/li.html2
-rw-r--r--themes/problematic/layouts/_default/list.html1
-rw-r--r--themes/problematic/layouts/_default/taxonomy.html12
-rw-r--r--themes/problematic/layouts/partials/header.html2
4 files changed, 14 insertions, 3 deletions
diff --git a/themes/problematic/layouts/_default/li.html b/themes/problematic/layouts/_default/li.html
index 2a7f3d9..846ff3f 100644
--- a/themes/problematic/layouts/_default/li.html
+++ b/themes/problematic/layouts/_default/li.html
@@ -1,6 +1,6 @@
<li>
<a href="{{ .Permalink }}">
- <small><time>{{ .Date.Format "Jan 2, 2006" }}</time></small>:
{{ .Title }}
+ <small>(<time>{{ .Date.Format "2 January 2006" }}</time>)</small>
</a>
</li>
diff --git a/themes/problematic/layouts/_default/list.html b/themes/problematic/layouts/_default/list.html
index 97af0e3..e4e4a83 100644
--- a/themes/problematic/layouts/_default/list.html
+++ b/themes/problematic/layouts/_default/list.html
@@ -1,3 +1,2 @@
{{ define "main" }}
-{{- partial "posts.html" . -}}
{{ end }}
diff --git a/themes/problematic/layouts/_default/taxonomy.html b/themes/problematic/layouts/_default/taxonomy.html
new file mode 100644
index 0000000..f59c372
--- /dev/null
+++ b/themes/problematic/layouts/_default/taxonomy.html
@@ -0,0 +1,12 @@
+{{ define "main" }}
+ <div class="container">
+ <h1>All {{ .Type }}</h1>
+ <ul>
+ {{ range .Pages }}
+ <li>
+ <a href="{{ .Permalink }}">{{ .Title }}</a>
+ </li>
+ {{ end }}
+ </ul>
+ </div>
+{{ end }}
diff --git a/themes/problematic/layouts/partials/header.html b/themes/problematic/layouts/partials/header.html
index 7ad852b..a9a7b2a 100644
--- a/themes/problematic/layouts/partials/header.html
+++ b/themes/problematic/layouts/partials/header.html
@@ -2,7 +2,7 @@
<h2><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h2>
<nav>
{{ range .Site.Menus.main.ByWeight -}}
- {{ .Pre }}<a href="{{ .URL }}" title="{{ .Title }}">{{- .Name -}}</a> | {{ .Post }}
+ {{ .Pre }}<a href="{{ .URL }}" title="{{ .Title }}">{{- .Name -}}</a> {{ .Post }}
{{- end }}
</nav>
</header>