feat(home): add custom content for home page (#248)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
{{- else -}}
|
||||
{{- $src := .source -}}
|
||||
{{- $integrity := .integrity -}}
|
||||
{{- if strings.HasPrefix $src "http" | not -}}
|
||||
{{- if strings.HasPrefix $src "http" | or (strings.HasPrefix $src "||") | not -}}
|
||||
{{- $res := resources.Get $src -}}
|
||||
{{- with .template -}}
|
||||
{{- $res = $res | resources.ExecuteAsTemplate . $.context -}}
|
||||
|
||||
Reference in New Issue
Block a user