aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2017-05-20 18:03:16 -0700
committerChristine Dodrill <me@christine.website>2017-05-20 18:03:16 -0700
commit91bbbc861679204e5c41393cd9903cad4b477f4a (patch)
treea42847620a6ee01567315ea378d94498df764bdc /main.go
parent7ae3aded98edaf7a1c2c960165e26f4083284bac (diff)
downloadxesite-91bbbc861679204e5c41393cd9903cad4b477f4a.tar.xz
xesite-91bbbc861679204e5c41393cd9903cad4b477f4a.zip
favicons
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 2 insertions, 0 deletions
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)