cfg: make SPA optional
This commit is contained in:
parent
fc89ff2680
commit
24d08d580d
5 changed files with 19 additions and 1 deletions
|
@ -10,6 +10,7 @@
|
|||
{{$cleanedInbound := apply (apply $inbound "index" "." "source") "replace" "." " " "-"}}
|
||||
{{- range $cleanedInbound | uniq -}}
|
||||
{{$l := printf "%s%s/" $host .}}
|
||||
{{$l = cond (eq $l "//") "/" $l}}
|
||||
{{with (index $contentTable .)}}
|
||||
<li>
|
||||
<a href="{{$l}}">{{index (index . "title")}}</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue