mirror of
https://github.com/ivabus/www
synced 2024-11-22 01:25:06 +03:00
Sidebar links go to where they're supposed to
This commit is contained in:
parent
4d507e06ab
commit
91bce42227
1 changed files with 5 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
||||||
<div class="col-md-3 sidebar pt-4 ps-4">
|
<div class="col-md-3 sidebar pt-4 pb-5 ps-4">
|
||||||
|
|
||||||
<!-- Recent Posts -->
|
<!-- Recent Posts -->
|
||||||
<h4 class="mt-4">Recent Posts</h4>
|
<h4 class="mt-4">Recent Posts</h4>
|
||||||
|
@ -10,15 +10,15 @@
|
||||||
|
|
||||||
<h4 class="mt-4">categories</h4>
|
<h4 class="mt-4">categories</h4>
|
||||||
<ul class="sidebar-list">
|
<ul class="sidebar-list">
|
||||||
{{ range .Site.Taxonomies.categories }}
|
{{ range $key, $value := .Site.Taxonomies.categories }}
|
||||||
<li><a href="{{ "/categories/" | relLangURL }}{{ . | urlize }}">{{ .Page.Title }}</a></li>
|
<li><a href="{{ printf "/%s/%s/" "categories" $key | relLangURL }}">{{ $key }}</a></li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h4 class="mt-4">tags</h4>
|
<h4 class="mt-4">tags</h4>
|
||||||
<ul class="sidebar-list">
|
<ul class="sidebar-list">
|
||||||
{{ range .Site.Taxonomies.tags }}
|
{{ range $key, $value := .Site.Taxonomies.tags }}
|
||||||
<li><a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ .Page.Title }}</a></li>
|
<li><a href="{{ printf "/%s/%s/" "tags" $key | relLangURL }}">{{ $key }}</a></li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue