{{- $code := placeholder "http.error.status_code" -}} {{- $text := placeholder "http.error.status_text" }} {{ $code }} {{ $text }}

Error {{ $code }}

{{ if eq $code "403" -}}

You don't have permission to access this resource.

{{- else if eq $code "404" -}}

The requested URL was not found on this server.

{{- else if eq $code "500" -}}

An internal server error has occurred.

{{- else -}}

{{ $text }}.

{{- end}}