Skip to content

Commit

Permalink
fix: link text of tags in minimal-footer
Browse files Browse the repository at this point in the history
  • Loading branch information
reuixiy committed Nov 18, 2019
1 parent f471af6 commit 5806692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/minimal-footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{- $url := urls.Parse ($tag | urlize) -}}
{{- $path := $url.Path -}}
{{- with $.Site.GetPage (printf `/tags/%s` $path) -}}
<a href="{{ .RelPermalink }}" rel="tag" class="post-tag-link">#{{ .Slug | default $tag | lower }}</a>
<a href="{{ .RelPermalink }}" rel="tag" class="post-tag-link">#{{ .Slug | default .LinkTitle | default $tag | lower | anchorize }}</a>
{{- if lt $index $length -}}
&nbsp;
{{- end -}}
Expand Down

0 comments on commit 5806692

Please sign in to comment.