diff --git a/bindata.go.REMOVED.git-id b/bindata.go.REMOVED.git-id index b7bf748..0c94d5c 100644 --- a/bindata.go.REMOVED.git-id +++ b/bindata.go.REMOVED.git-id @@ -1 +1 @@ -5c9e26680d9e507e2c4fe676ac97c5785f72de79 \ No newline at end of file +fd955de49d216362dc44c184a1484ec07072d3a0 \ No newline at end of file diff --git a/handlers.go b/handlers.go index f4c2024..1240c6d 100755 --- a/handlers.go +++ b/handlers.go @@ -128,6 +128,7 @@ func handlePageRequest(c *gin.Context) { command[0:2] != "/v" && command[0:2] != "/l" && command[0:2] != "/h") + c.HTML(http.StatusOK, "index.tmpl", gin.H{ "EditPage": command[0:2] == "/e", // /edit "ViewPage": command[0:2] == "/v", // /view diff --git a/templates/index.tmpl b/templates/index.tmpl index 17eca06..b47245b 100755 --- a/templates/index.tmpl +++ b/templates/index.tmpl @@ -397,6 +397,7 @@ CowYo