mirror of
https://github.com/ivabus/www
synced 2024-11-21 20:35:07 +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 -->
|
||||
<h4 class="mt-4">Recent Posts</h4>
|
||||
|
@ -10,15 +10,15 @@
|
|||
|
||||
<h4 class="mt-4">categories</h4>
|
||||
<ul class="sidebar-list">
|
||||
{{ range .Site.Taxonomies.categories }}
|
||||
<li><a href="{{ "/categories/" | relLangURL }}{{ . | urlize }}">{{ .Page.Title }}</a></li>
|
||||
{{ range $key, $value := .Site.Taxonomies.categories }}
|
||||
<li><a href="{{ printf "/%s/%s/" "categories" $key | relLangURL }}">{{ $key }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
||||
<h4 class="mt-4">tags</h4>
|
||||
<ul class="sidebar-list">
|
||||
{{ range .Site.Taxonomies.tags }}
|
||||
<li><a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ .Page.Title }}</a></li>
|
||||
{{ range $key, $value := .Site.Taxonomies.tags }}
|
||||
<li><a href="{{ printf "/%s/%s/" "tags" $key | relLangURL }}">{{ $key }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
||||
|
|
Loading…
Reference in a new issue