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

github.com/tosi29/inkblotty.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortosi29 <tosi16@gmail.com>2019-11-11 15:55:24 +0300
committertosi29 <tosi16@gmail.com>2019-11-11 15:55:24 +0300
commit53759d7d4000704608305d8a0c9f95c968b3a904 (patch)
tree35b18731317f79bd643a1e8cd06c7cbdc077c62c
parenta2b99bdf71090428b52d5976288a83584ffb45a7 (diff)
Fix to support uglyUrl on sidebar
-rw-r--r--layouts/partials/sidebar.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index f8b443f..0e048df 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -6,7 +6,7 @@
<ul class="widget__list">
{{- range $name, $items := .Site.Taxonomies.categories -}}
<li class="cat-item cat-item-2">
- <a href="{{- "categories/" | relLangURL -}}{{- $name | urlize | lower -}}">{{ .Page.Title }} ({{ $items.Count }})</a>
+ <a href="{{- .Page.Permalink -}}">{{ .Page.Title }} ({{ $items.Count }})</a>
</li>
{{- end }}
</ul>
@@ -16,7 +16,7 @@
<h2>{{ T "tags_title" }}</h2>
<div class="tagcloud">
{{- range $name, $items := .Site.Taxonomies.tags -}}
- <a class="tag-cloud-link" href="{{- "tags/" | relLangURL -}}{{- $name | urlize | lower -}}" title="{{ $name }}" style="font-size: 12pt;">{{ .Page.Title }}</a>&emsp;
+ <a class="tag-cloud-link" href="{{- .Page.Permalink -}}" title="{{ $name }}" style="font-size: 12pt;">{{ .Page.Title }}</a>&emsp;
{{- end }}
</div>
</aside>
@@ -37,7 +37,7 @@
<h2>{{ T "archives_title" }}</h2>
<ul>
{{- range $name, $items := .Site.Taxonomies.archives -}}
- <li><a href="{{- "archives/" | relLangURL -}}{{- $name | urlize | lower -}}">{{ .Page.Title }} ({{ $items.Count }})</a></li>
+ <li><a href="{{- .Page.Permalink -}}">{{ .Page.Title }} ({{ $items.Count }})</a></li>
{{- end }}
</ul>
</aside>