From f916fc4e7902308d1b499ed5f37d519446dbe7dd Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 19 Jul 2022 11:13:28 +0100 Subject: first implementation of blog posts sorted by category --- themes/problematic/layouts/_default/li.html | 2 +- themes/problematic/layouts/partials/posts.html | 22 ++++++++++++++++------ 2 files changed, 17 insertions(+), 7 deletions(-) (limited to 'themes') diff --git a/themes/problematic/layouts/_default/li.html b/themes/problematic/layouts/_default/li.html index 846ff3f..d0217b9 100644 --- a/themes/problematic/layouts/_default/li.html +++ b/themes/problematic/layouts/_default/li.html @@ -1,6 +1,6 @@
  • {{ .Title }} - () + ()
  • diff --git a/themes/problematic/layouts/partials/posts.html b/themes/problematic/layouts/partials/posts.html index 8ff3eb2..191f449 100644 --- a/themes/problematic/layouts/partials/posts.html +++ b/themes/problematic/layouts/partials/posts.html @@ -1,6 +1,16 @@ -

    Posts

    - +

    Blog Posts

    + +{{ range $key, $value := .Site.Taxonomies.categories }} + +

    {{ $key | title }}

    + + + +{{ end }} + -- cgit v1.2.3