From fce28007f63b20231ed047c301cc2aa7a39890fa Mon Sep 17 00:00:00 2001 From: emile Date: Tue, 8 Sep 2015 22:57:27 +0200 Subject: [PATCH] web provider --- configuration.html | 2 +- web.go | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/configuration.html b/configuration.html index 45a2fbe88..4477579ba 100644 --- a/configuration.html +++ b/configuration.html @@ -1,7 +1,7 @@ - {{.Title}} + Tortuous diff --git a/web.go b/web.go index 97df37aca..433528459 100644 --- a/web.go +++ b/web.go @@ -17,7 +17,6 @@ type WebProvider struct { } type Page struct { - Title string Configuration Configuration } @@ -41,5 +40,5 @@ func GetHtmlConfigHandler(response http.ResponseWriter, request *http.Request) { if err != nil { http.Error(response, fmt.Sprintf("error parsing url %v", err), 500) } - templates.ExecuteTemplate(response, "configuration.html", Page{Title: "Home", Configuration:*currentConfiguration}) + templates.ExecuteTemplate(response, "configuration.html", Page{Configuration:*currentConfiguration}) }