Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Fastbyte01/KeepIt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Pignataro <rogepix@gmail.com>2019-09-12 23:47:19 +0300
committerGiuseppe Pignataro <rogepix@gmail.com>2019-09-12 23:47:19 +0300
commit063cfd4c00310193289313a2ed8aea85e07edaf4 (patch)
tree589cd3347002b564719d5ce080c937452e73030b
parent4b6d9a5f65e7f7aab0a0035a8835dda22693fe86 (diff)
Bug Fix
Now the single category pages show only the category name
-rw-r--r--layouts/_default/list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index b4c6724..b59f427 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,7 +1,7 @@
{{ define "content" }}
{{ $data := .Data }}
<div class="post-warp archive">
- <h2 class="post-title" style="text-align:right;padding-bottom:2em">-&nbsp;{{ $data.Plural | humanize }}{{ .Title }}&nbsp;-</h2>
+ <h2 class="post-title" style="text-align:right;padding-bottom:2em">-&nbsp;{{ humanize .Title }}&nbsp;-</h2>
{{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups }}
<h3>{{ .Key }}</h3>