hswaw/site: render main page and blog feed

This reimplements the blog rendering functionality and the main/index
page.

www-main used to combine multiple atom feeds into one (Redmine and the
wordpress blog at blog.hackerspace.pl). We retain the functionality, but
only render the wordpress blog now (some other content might follow).

We also cowardly comment out the broken calendar iframe.

Change-Id: I9abcd8d85149968d06e1cb9c97d72eba7f0bc99f
diff --git a/hswaw/site/views.go b/hswaw/site/views.go
index ae62322..8944e5d 100644
--- a/hswaw/site/views.go
+++ b/hswaw/site/views.go
@@ -42,6 +42,7 @@
 var (
 	tmplAbout   = template.Must(parseTemplates("basic", "about"))
 	tmplAboutEn = template.Must(parseTemplates("basic", "about_en"))
+	tmplMain    = template.Must(parseTemplates("basic", "main"))
 )
 
 // render attempts to render a given Go template with data into the HTTP
@@ -61,3 +62,10 @@
 func (s *service) handleAboutEn(w http.ResponseWriter, r *http.Request) {
 	render(w, tmplAboutEn, nil)
 }
+
+// handleMain handles rendering the main page at /.
+func (s *service) handleMain(w http.ResponseWriter, r *http.Request) {
+	render(w, tmplMain, map[string]interface{}{
+		"Entries": s.getFeeds(),
+	})
+}