From 0b964047e6d3f057bdf929d05362fce9ddfc087f Mon Sep 17 00:00:00 2001 From: Zack Scholl Date: Wed, 30 Mar 2016 12:53:48 -0400 Subject: [PATCH] Removed some print statements --- routes.go | 4 ---- templates/index.tmpl | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/routes.go b/routes.go index 3ee74e0..ba169df 100644 --- a/routes.go +++ b/routes.go @@ -88,7 +88,6 @@ type EncryptionPost struct { func encryptionRoute(c *gin.Context) { title := c.Param("title") option := c.Param("option") - fmt.Println(option, title) var jsonLoad EncryptionPost if option == "/decrypt" { if c.BindJSON(&jsonLoad) == nil { @@ -458,7 +457,6 @@ func renderList(c *gin.Context, title string) { pClean.AllowDataURIImages() text := pClean.SanitizeBytes([]byte(p.CurrentText)) listItems, _ := reorderList(string(text)) - fmt.Println(string(text)) c.HTML(http.StatusOK, "list.tmpl", gin.H{ "Title": title, "WikiName": RuntimeArgs.WikiName, @@ -506,8 +504,6 @@ func deleteListItem(c *gin.Context) { func deletePage(c *gin.Context) { deleteName := c.DefaultQuery("DeleteName", "None") adminKey := c.DefaultQuery("AdminKey", "None") - fmt.Println(adminKey) - fmt.Println(deleteName) // if adminKey == RuntimeArgs.AdminKey || true == true { if strings.ToLower(deleteName) != "help" { p := WikiData{strings.ToLower(deleteName), "", []string{}, []string{}, false, ""} diff --git a/templates/index.tmpl b/templates/index.tmpl index b196db5..13dcd2c 100644 --- a/templates/index.tmpl +++ b/templates/index.tmpl @@ -46,7 +46,7 @@ body { margin: 0; background: #fff; - max-width: 800px; + max-width: 900px; margin: 0 auto; padding-bottom: 65px; }