initial commit
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Scratch {{ .ID }}</title>
|
||||
<link rel="stylesheet" href="/static/app.css">
|
||||
</head>
|
||||
<body>
|
||||
<main class="container">
|
||||
<h1>Scratch {{ .ID }}</h1>
|
||||
<p>Content type: <code>{{ .ContentType }}</code></p>
|
||||
<p>Expires at: {{ .ExpiresAt }}</p>
|
||||
<p><a href="{{ .RawURL }}">Open raw</a></p>
|
||||
|
||||
{{ if .Binary }}
|
||||
<p>This scratch looks binary and is not rendered in-page. Use the raw link.</p>
|
||||
{{ else }}
|
||||
<pre>{{ .Content }}</pre>
|
||||
{{ if .Truncated }}
|
||||
<p>Preview truncated to 2MB. Open raw for full content.</p>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user