diff --git a/assets/paste.html b/assets/paste.html
index 98588b5..cec531f 100644
--- a/assets/paste.html
+++ b/assets/paste.html
@@ -29,6 +29,10 @@
+
diff --git a/main.go b/main.go
index 1c9cbb3..897aaa8 100644
--- a/main.go
+++ b/main.go
@@ -40,6 +40,7 @@ type Response struct {
type Page struct {
Title string
Body []byte
+ Link string
}
func check(err error) {
@@ -228,6 +229,7 @@ func pasteHandler(w http.ResponseWriter, r *http.Request) {
p := &Page{
Title: paste,
Body: []byte(s),
+ Link: ADDRESS + "/raw/" + paste
}
t, err := template.ParseFiles("assets/paste.html")
if err != nil {