From 91bbbc861679204e5c41393cd9903cad4b477f4a Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sat, 20 May 2017 18:03:16 -0700 Subject: favicons --- main.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main.go') diff --git a/main.go b/main.go index 6aba7bc..86546b0 100644 --- a/main.go +++ b/main.go @@ -160,6 +160,7 @@ func Build() (*Site, error) { URL: "https://christine.website/" + item.Link, Title: item.Title, DatePublished: itime, + ContentHTML: string(item.BodyHTML), }) } @@ -167,6 +168,7 @@ func Build() (*Site, error) { s.mux.Handle("/", s.renderTemplatePage("index.html", nil)) s.mux.Handle("/resume", s.renderTemplatePage("resume.html", s.Resume)) s.mux.Handle("/blog", s.renderTemplatePage("blogindex.html", s.Posts)) + s.mux.Handle("/contact", s.renderTemplatePage("contact.html", nil)) s.mux.HandleFunc("/blog.rss", s.createFeed) s.mux.HandleFunc("/blog.atom", s.createAtom) s.mux.HandleFunc("/blog.json", s.createJsonFeed) -- cgit v1.2.3