diff --git a/html/about.html b/html/about.html
index ce5019a..01c3beb 100644
--- a/html/about.html
+++ b/html/about.html
@@ -9,7 +9,7 @@
serendipitous connexions.
- This instance indexes the {{ .Data.WebringName }} - {{ .Data.DomainCount }} domains,
+ This instance indexes {{ .Data.WebringName }}—{{ .Data.DomainCount }} domains,
{{ .Data.PageCount }} pages, {{ .Data.TermCount }} search terms.
Some domains of the webring have been filtered out for a better search experience,
see the filtered list.
diff --git a/html/index.html b/html/index.html
index 7eca400..171ec48 100644
--- a/html/index.html
+++ b/html/index.html
@@ -9,16 +9,18 @@
-
- {{ .SiteName }}
-
-
- the search for the new—endless
-
-
+
+
+ {{ .SiteName }}
+
+
+ the search for the new—endless
+
+
+
{{ template "footer" . }}
diff --git a/server/server.go b/server/server.go
index c0ba0f9..84f6086 100644
--- a/server/server.go
+++ b/server/server.go
@@ -127,6 +127,10 @@ func (h RequestHandler) randomRoute(res http.ResponseWriter, req *http.Request)
http.Redirect(res, req, link, http.StatusSeeOther)
}
+func (h RequestHandler) webringRoute(res http.ResponseWriter, req *http.Request) {
+ http.Redirect(res, req, h.config.General.URL, http.StatusSeeOther)
+}
+
func (h RequestHandler) renderView(res http.ResponseWriter, tmpl string, view *TemplateView) {
view.SiteName = h.config.General.Name
errTemp := templates.ExecuteTemplate(res, tmpl+".html", view)
@@ -140,6 +144,7 @@ func Serve(config types.Config) {
http.HandleFunc("/about", handler.aboutRoute)
http.HandleFunc("/", handler.searchRoute)
http.HandleFunc("/random", handler.randomRoute)
+ http.HandleFunc("/webring", handler.webringRoute)
http.HandleFunc("/filtered", handler.filteredRoute)
fileserver := http.FileServer(http.Dir("html/assets/"))