From 447d3614a9723fa6e3dc42a755e1bc420cc75d0d Mon Sep 17 00:00:00 2001 From: Kaushal Modi Date: Wed, 29 Nov 2017 15:49:53 -0500 Subject: [PATCH] Fix/simplify the tags and categories pages on test site --- test/site/themes/bare_min/layouts/_default/li.html | 7 ++----- test/site/themes/bare_min/layouts/_default/list.html | 12 +++--------- 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/test/site/themes/bare_min/layouts/_default/li.html b/test/site/themes/bare_min/layouts/_default/li.html index 3141ccf..d096274 100644 --- a/test/site/themes/bare_min/layouts/_default/li.html +++ b/test/site/themes/bare_min/layouts/_default/li.html @@ -5,11 +5,8 @@ right-justified horizontal list of categories for that post. (3) The contents of the description field in the metadata of the actual markdown source of the post. - --> +-->
  • - -

    {{ .Title }}

    -
    -
    + {{ .Title }} {{ .Description }}
  • diff --git a/test/site/themes/bare_min/layouts/_default/list.html b/test/site/themes/bare_min/layouts/_default/list.html index 2532ce1..9c5fee8 100644 --- a/test/site/themes/bare_min/layouts/_default/list.html +++ b/test/site/themes/bare_min/layouts/_default/list.html @@ -1,17 +1,11 @@ {{ define "main" }} -

    - Here are all my {{ .Type }}, in descending order by creation date. -

    +

    Posts with the {{ .Type | singularize }} ‘{{ .URL | replaceRE (printf "/%s/" .Type) "" | replaceRE "/" "" }}’