caddy/errors/index.html

27 lines
1.1 KiB
HTML
Raw Normal View History

{{ $code := placeholder "http.error.status_code" }}
{{ $text := placeholder "http.error.status_text" }}
2021-08-21 17:18:23 -05:00
<html>
<head>
<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 }}" />
<meta property="og:image" content="https://boba.best/img/boba_mochi.gif"/>
<meta property="og:site_name" content="boba.best" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:image" content="https://boba.best/img/boba_mochi.gif"/>
<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>
<h1>{{ $code }} {{ $text }}</h1>
<img src='https://errors.boba.best/{{ $code }}.jpg' alt="cat" />
2021-08-21 17:18:23 -05:00
</center>
</body>
</html>