Browse Source

Renamed template file extension.

Wirecog 7 years ago
parent
commit
b84588fa69
2 changed files with 1 additions and 1 deletions
  1. 1
    1
      isogoapp.go
  2. 0
    0
      templates/index.tmpl

+ 1
- 1
isogoapp.go View File

@@ -13,7 +13,7 @@ import (
13 13
 var webappRoot string = os.Getenv("ISOGO_APP_ROOT")
14 14
 
15 15
 func indexHandler(w http.ResponseWriter, r *http.Request) {
16
-	renderTemplate(w, webappRoot+"/templates/index.html", nil)
16
+	renderTemplate(w, webappRoot+"/templates/index.tmpl", nil)
17 17
 }
18 18
 
19 19
 // Template rendering function

templates/index.html → templates/index.tmpl View File