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

github.com/nathancday/min_night.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNate <nathancday@gmail.com>2017-11-12 00:46:34 +0300
committerNate <nathancday@gmail.com>2018-03-12 02:28:20 +0300
commitc6012e3cbfd731f2f098b7c4f49c0af9248e6b72 (patch)
tree78766d3b7f0ef6fa2878eaf5ff674a9167d05958
parent676bd47ff9d7c4d10fad7f397dba92dfff9047fa (diff)
forgot to update list-item.html
-rw-r--r--layouts/partials/list-item.html11
1 files changed, 10 insertions, 1 deletions
diff --git a/layouts/partials/list-item.html b/layouts/partials/list-item.html
index e6a2106..27a9fed 100644
--- a/layouts/partials/list-item.html
+++ b/layouts/partials/list-item.html
@@ -18,8 +18,17 @@
<h4><a href="{{ .Scratch.Get "link" }}">{{ .Title }}</a></h4>
<h5>{{ $.Scratch.Get "subtitle" }}</h5>
+
+ {{ range.Params.categories }}
+ <a href="{{"/categories/"|relLangURL }}{{.|urlize}}">
+ <kbd class="item-cat"> {{ . }} </kbd>
+ </a>
+
+ {{ end }}
{{ range .Params.tags }}
- <a href="{{ $.Site.BaseURL }}tags/{{ . | urlize }}"><kbd class="item-tag">{{ . }}</kbd></a>
+ <a href="{{"/tags/"|relLangURL }}{{.|urlize}}">
+ <kbd class="item-tag"> {{ . }} </kbd>
+ </a>
{{ end }}
</div>