Use remote resource content
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
{{- with .Err -}}
|
||||
{{- errorf "layouts/shortcodes/paige/request.html: cannot request remote resource %q: %v" $url . -}}
|
||||
{{- else with .Value -}}
|
||||
{{- strings.TrimRight "\f\n\r\t\v " . -}}
|
||||
{{- strings.TrimRight "\f\n\r\t\v " .Content -}}
|
||||
{{- else -}}
|
||||
{{- errorf "layouts/shortcodes/paige/request.html: remote resource %q not found" $url -}}
|
||||
{{- end -}}
|
||||
|
Reference in New Issue
Block a user