mirror of
https://github.com/alrayyes/wiki.git
synced 2025-05-12 19:50:39 +00:00
fix: append trailing slash, fixes #111
This commit is contained in:
parent
f05ff5e62d
commit
3c7ece5405
3 changed files with 3 additions and 3 deletions
layouts/partials
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue