Jan Dittberner
25b101afae
- add linter config and fix golangci-lint warnings - rename module to match new repository location - use embedded resources for static assets, templates and translations - recommend mkcert in README - require at least Go 1.19 - update and tidy dependencies - update copyright information - improve Makefile, add lint and static asset targets
13 lines
No EOL
517 B
Text
13 lines
No EOL
517 B
Text
{{ define "content" }}
|
|
<div class="container text-center error-message">
|
|
<img src="/images/CAcert-logo.svg" width="300" height="68" alt="CAcert" class="mb-4">
|
|
<h1>{{ .Title }}</h1>
|
|
<h2>{{ if .details.ErrorCode }}
|
|
<strong>{{ .details.ErrorCode }}</strong> {{ end }}{{ .details.ErrorMessage }}</h2>
|
|
{{ if .details.ErrorDetails }}
|
|
{{ range .details.ErrorDetails }}
|
|
<p>{{ . }}</p>
|
|
{{ end }}
|
|
{{ end }}
|
|
</div>
|
|
{{ end }} |