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

github.com/chipsenkbeil/grid-side.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/extra/categories.html')
-rw-r--r--layouts/partials/extra/categories.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/partials/extra/categories.html b/layouts/partials/extra/categories.html
index 78007f9..4b6349b 100644
--- a/layouts/partials/extra/categories.html
+++ b/layouts/partials/extra/categories.html
@@ -1,9 +1,10 @@
+{{ $baseUrl := .Site.BaseURL }}
<ul class="categories">
<li>
<i class="fa fa-book"></i>
</li>
{{ range .Params.categories }}
- <li><a href="/categories/{{ . | urlize }}">{{ . }}</a></li>
+ <li><a href="{{ $baseUrl }}categories/{{ . | urlize }}">{{ . }}</a></li>
{{ end }}
</ul>