From fd3ec89897b1c3871b6761083611c2c3f158fd69 Mon Sep 17 00:00:00 2001
From: Khosrow Moossavi <khos2ow@gmail.com>
Date: Sat, 27 Oct 2018 12:43:26 +0000
Subject: [PATCH] Taxonomy initial commit, tags and categories (#90)
---
layouts/partials/list.html | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/layouts/partials/list.html b/layouts/partials/list.html
index f8e67dc..b880669 100644
--- a/layouts/partials/list.html
+++ b/layouts/partials/list.html
@@ -1,5 +1,12 @@
<section class="container list">
- <h1 class="title">{{ .Title }}</h1>
+ <h1 class="title">
+ {{- if eq .Kind "taxonomy" -}}
+ {{- .Data.Singular | title -}}
+ {{- print ": " -}}
+ {{- end -}}
+
+ {{- .Title -}}
+ </h1>
<ul>
{{ range .Paginator.Pages }}
<li>
--
Gitblit v1.10.0