aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2016-05-28 23:28:32 +0100
committerNiall Sheridan <nsheridan@gmail.com>2016-05-28 23:28:32 +0100
commit69973a0c0cea573d444d46b5ae69bebc1567a9b8 (patch)
tree61fb2ac88ca974f0f9e7ea5e03dff251c5936872 /templates
parentf1a898a1adb2d3a0facfece2729bd0c527781bdc (diff)
Define the token tmpl as a string
Diffstat (limited to 'templates')
-rw-r--r--templates/token.go (renamed from templates/token.html)6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/token.html b/templates/token.go
index 4513176..dbad371 100644
--- a/templates/token.html
+++ b/templates/token.go
@@ -1,4 +1,6 @@
-<html>
+package templates
+
+const Token = `<html>
<head>
<title>YOUR TOKEN!</title>
<style>
@@ -43,4 +45,4 @@
The token will expire in &lt; 1 hour.
</h2>
</body>
-</html>
+</html>`