aboutsummaryrefslogtreecommitdiff
path: root/view.tpl
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2021-07-27 00:16:31 -0400
committerMitchell Riedstra <mitch@riedstra.dev>2021-07-27 00:16:31 -0400
commit830f43f467ad4f9dc0aef9335bb2756e57dfed4c (patch)
tree67bcb19b398eb94df467fb125c20dca368f4a043 /view.tpl
downloadpaste-830f43f467ad4f9dc0aef9335bb2756e57dfed4c.tar.gz
paste-830f43f467ad4f9dc0aef9335bb2756e57dfed4c.tar.xz
Initial
Diffstat (limited to 'view.tpl')
-rw-r--r--view.tpl21
1 files changed, 21 insertions, 0 deletions
diff --git a/view.tpl b/view.tpl
new file mode 100644
index 0000000..84c5ebf
--- /dev/null
+++ b/view.tpl
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <link rel="stylesheet" href="/style.css" defer>
+ <title>Paste: {{.Title}}</title>
+</head>
+<body>
+<nav>
+ <a href="/">Home</a>
+ <div style="display: block; float: right;">
+ </div>
+</nav>
+
+<h1>Paste: "{{.Title}}"</h1>
+
+<pre><code>{{.GetContent}}</pre></code>
+
+</body>
+</html>
+