|
|
@ -9,7 +9,7 @@
|
|
|
|
{{- with .Err -}}
|
|
|
|
{{- with .Err -}}
|
|
|
|
{{- errorf "layouts/shortcodes/paige/request.html: cannot request remote resource %q: %v" $url . -}}
|
|
|
|
{{- errorf "layouts/shortcodes/paige/request.html: cannot request remote resource %q: %v" $url . -}}
|
|
|
|
{{- else with .Value -}}
|
|
|
|
{{- else with .Value -}}
|
|
|
|
{{- strings.TrimRight "\f\n\r\t\v " . -}}
|
|
|
|
{{- strings.TrimRight "\f\n\r\t\v " .Content -}}
|
|
|
|
{{- else -}}
|
|
|
|
{{- else -}}
|
|
|
|
{{- errorf "layouts/shortcodes/paige/request.html: remote resource %q not found" $url -}}
|
|
|
|
{{- errorf "layouts/shortcodes/paige/request.html: remote resource %q not found" $url -}}
|
|
|
|
{{- end -}}
|
|
|
|
{{- end -}}
|
|
|
|