cfg: make SPA optional

This commit is contained in:
Jacky Zhao 2022-05-03 10:43:22 -04:00
parent fc89ff2680
commit 24d08d580d
5 changed files with 19 additions and 1 deletions

View file

@ -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>