fix: append trailing slash, fixes

This commit is contained in:
Jacky Zhao 2022-04-28 10:48:31 -07:00
parent f05ff5e62d
commit 3c7ece5405
3 changed files with 3 additions and 3 deletions
layouts/partials

View file

@ -9,7 +9,7 @@
{{if $inbound}}
{{$cleanedInbound := apply (apply $inbound "index" "." "source") "replace" "." " " "-"}}
{{- range $cleanedInbound | uniq -}}
{{$l := printf "%s%s" $host .}}
{{$l := printf "%s%s/" $host .}}
{{with (index $contentTable .)}}
<li>
<a href="{{$l}}">{{index (index . "title")}}</a>