2021-09-18 21:25:26 -05:00
|
|
|
{{ $code := placeholder "http.error.status_code" }}
|
|
|
|
{{ $text := placeholder "http.error.status_text" }}
|
2021-09-25 14:59:08 -05:00
|
|
|
{{ $img_url := (printf "https://errors.boba.best/%s.jpg" $code) }}
|
2021-08-21 17:18:23 -05:00
|
|
|
<html>
|
|
|
|
<head>
|
2021-09-18 21:25:26 -05:00
|
|
|
<title>{{ $code }} {{ $text }}</title>
|
|
|
|
|
|
|
|
<meta name="title" content="{{ $code }} {{ $text }}" />
|
|
|
|
<meta name="description" content="{{ $code }} {{ $text }}" />
|
|
|
|
|
|
|
|
<meta property="og:title" content="{{ $code }} {{ $text }}" />
|
|
|
|
<meta property="og:description" content="{{ $code }} {{ $text }}" />
|
2021-09-25 14:59:08 -05:00
|
|
|
<meta property="og:image" content="{{ $img_url }}"/>
|
2021-09-18 21:25:26 -05:00
|
|
|
<meta property="og:site_name" content="boba.best" />
|
|
|
|
|
|
|
|
<meta name="twitter:card" content="summary"/>
|
2021-09-25 14:59:08 -05:00
|
|
|
<meta name="twitter:image" content="{{ $img_url }}"/>
|
2021-09-18 21:25:26 -05:00
|
|
|
<meta name="twitter:title" content="{{ $code }} {{ $text }}" />
|
|
|
|
<meta name="twitter:description" content="{{ $code }} {{ $text }}" />
|
2021-08-21 17:18:23 -05:00
|
|
|
</head>
|
|
|
|
<body bgcolor="black" text="white">
|
|
|
|
<center>
|
2021-09-18 21:25:26 -05:00
|
|
|
<h1>{{ $code }} {{ $text }}</h1>
|
2021-09-25 14:59:08 -05:00
|
|
|
<img src='{{ $img_url }}' alt="cat" />
|
2021-08-21 17:18:23 -05:00
|
|
|
</center>
|
|
|
|
</body>
|
|
|
|
</html>
|