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

github.com/mazgi/hugo-theme-techlog-simple.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHidenori MATSUKI <MATSUKI.Hidenori@gmail.com>2018-10-07 22:59:26 +0300
committerHidenori MATSUKI <MATSUKI.Hidenori@gmail.com>2018-10-07 22:59:26 +0300
commit5a01aba7e78b9655fda42fcc2ae049f69a3915ae (patch)
tree427768ef6dc2c628b02dacf3050754fb0de4a3b4
parent37d31c650d42ec9db5c0f79bf6b3dcb13b5529ff (diff)
Fix URLs.
-rw-r--r--layouts/_default/list.html4
-rw-r--r--layouts/partials/header.html2
-rw-r--r--layouts/partials/sidebar.html4
3 files changed, 5 insertions, 5 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 7cae130..2735611 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -27,7 +27,7 @@
<span class="ml-1">Author(s):
{{ with .Params.Authors }}
{{ range . }}
- <a class="ml-1 badge badge-pill badge-secondary" href="{{ "/authors/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
+ <a class="ml-1 badge badge-pill badge-secondary" href="{{ "/authors/" | relLangURL }}{{ . | urlize }}/">{{ . }}</a>
{{ end }}
{{ end }}
</span>
@@ -39,7 +39,7 @@
<div class="row">
{{ with .Params.Tags }}
{{ range . }}
- <a class="ml-1 badge badge-pill badge-secondary" href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
+ <a class="ml-1 badge badge-pill badge-secondary" href="{{ "/tags/" | relLangURL }}{{ . | urlize }}/">{{ . }}</a>
{{ end }}
{{ end }}
</div>
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 1d8dcaf..732449c 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -92,7 +92,7 @@
<span class="nav-link disabled">Author(s):
{{ with .Params.Authors }}
{{ range . }}
- <a class="ml-1 badge badge-pill badge-secondary" href="{{ "/authors/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
+ <a class="ml-1 badge badge-pill badge-secondary" href="{{ "/authors/" | relLangURL }}{{ . | urlize }}/">{{ . }}</a>
{{ end }}
{{ end }}
</span>
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index 5c782c3..a36fa69 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -13,7 +13,7 @@
<ul>
{{ range . }}
<li>
- <a href="{{ "/categories/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
+ <a href="{{ "/categories/" | relLangURL }}{{ . | urlize }}/">{{ . }}</a>
</li>
{{ end }}
</ul>
@@ -24,7 +24,7 @@
{{ with .Params.Tags }}
<div>
{{ range . }}
- <a class="badge badge-pill badge-secondary" href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
+ <a class="badge badge-pill badge-secondary" href="{{ "/tags/" | relLangURL }}{{ . | urlize }}/">{{ . }}</a>
{{ end }}
</div>
{{ end }}