diff options
| author | Christine Dodrill <me@christine.website> | 2017-05-20 18:03:16 -0700 |
|---|---|---|
| committer | Christine Dodrill <me@christine.website> | 2017-05-20 18:03:16 -0700 |
| commit | 91bbbc861679204e5c41393cd9903cad4b477f4a (patch) | |
| tree | a42847620a6ee01567315ea378d94498df764bdc /main.go | |
| parent | 7ae3aded98edaf7a1c2c960165e26f4083284bac (diff) | |
| download | xesite-91bbbc861679204e5c41393cd9903cad4b477f4a.tar.xz xesite-91bbbc861679204e5c41393cd9903cad4b477f4a.zip | |
favicons
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |
