Skip to content

Commit

Permalink
fix #148
Browse files Browse the repository at this point in the history
Signed-off-by: zhaohuabing <zhaohuabing@gmail.com>
  • Loading branch information
zhaohuabing committed Mar 13, 2023
1 parent 98ae269 commit 269be4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@
{{ if not .Site.Params.omit_categories }}
{{ range $name, $taxonomy := .Site.Taxonomies.categories }}
<li>
<a href="{{ "categories/" | relLangURL }}{{ $name | urlize }}">{{ $name }}</a>
<a href="{{ "categories/" | relLangURL }}{{ $name | urlize }}/">{{ $name }}</a>
</li>
{{ end }}
{{ end }}

{{ range .Site.Params.addtional_menus }}
<li><a href="{{.href | relLangURL}}">{{.title}}</a></li>
<li><a href="{{.href | relLangURL}}/">{{.title}}</a></li>
{{ end }}
<li>
<a href="{{ "search" | relURL }}"><i class="fa fa-search"></i></a>
Expand Down

0 comments on commit 269be4c

Please sign in to comment.