Permalink
Browse files

Fix missing slash in tags URL

  • Loading branch information...
halogenica committed Jan 9, 2018
1 parent ddac837 commit 46ffcfbce1ac3da0514a9aa76fbcf1838094387d
Showing with 2 additions and 2 deletions.
  1. +1 −1 layouts/_default/terms.html
  2. +1 −1 layouts/index.html
@@ -4,7 +4,7 @@
<article class="post-preview">
<div class="list-group col-lg-4 col-lg-offset-4 col-md-6 col-md-offset-3">
{{ range $key, $value := .Data.Terms.ByCount }}
<a href="{{ $.Site.LanguagePrefix | absURL }}{{ $data.Plural }}/{{ $value.Name | urlize }}/" class="list-group-item">
<a href="{{ $.Site.LanguagePrefix | absURL }}/{{ $data.Plural }}/{{ $value.Name | urlize }}/" class="list-group-item">
{{ $value.Name }}<span class="badge">{{ $value.Count }}</span></a>
{{ end }}
</div>
View
@@ -37,7 +37,7 @@ <h3 class="post-subtitle">
{{ if .Params.tags }}
<span class="post-meta">
{{ range .Params.tags }}
#<a href="{{ $.Site.LanguagePrefix | absURL }}tags/{{ . | urlize }}/">{{ . }}</a>&nbsp;
#<a href="{{ $.Site.LanguagePrefix | absURL }}/tags/{{ . | urlize }}/">{{ . }}</a>&nbsp;
{{ end }}
</span>
{{ end }}

1 comment on commit 46ffcfb

@nogu-net

This comment has been minimized.

Show comment
Hide comment
@nogu-net

nogu-net Jan 19, 2018

Contributor

This issue is also in layouts/_default/list.html.

Contributor

nogu-net commented on 46ffcfb Jan 19, 2018

This issue is also in layouts/_default/list.html.

Please sign in to comment.