diff --git a/cmd/site/internal/blog/blog.go b/cmd/site/internal/blog/blog.go index 0ea6fb2..93a77c2 100644 --- a/cmd/site/internal/blog/blog.go +++ b/cmd/site/internal/blog/blog.go @@ -69,6 +69,7 @@ func LoadPosts(path string, prepend string) (Posts, error) { SlidesLink string `yaml:"slides_link"` Image string Thumb string + Show string } var result Posts diff --git a/cmd/site/main.go b/cmd/site/main.go index dcb6dc5..53f7a8d 100644 --- a/cmd/site/main.go +++ b/cmd/site/main.go @@ -260,6 +260,7 @@ func Build() (*Site, error) { s.renderTemplatePage("index.html", nil).ServeHTTP(w, r) }) s.mux.Handle("/metrics", promhttp.Handler()) + s.mux.Handle("/feeds", middleware.Metrics("feeds", s.renderTemplatePage("feeds.html", nil))) s.mux.Handle("/patrons", middleware.Metrics("patrons", s.renderTemplatePage("patrons.html", s.patrons))) s.mux.Handle("/signalboost", middleware.Metrics("signalboost", s.renderTemplatePage("signalboost.html", s.SignalBoost))) s.mux.Handle("/resume", middleware.Metrics("resume", s.renderTemplatePage("resume.html", s.Resume))) diff --git a/templates/base.html b/templates/base.html index eb48c19..619e35c 100644 --- a/templates/base.html +++ b/templates/base.html @@ -58,7 +58,7 @@ {{ template "scripts" . }}
-

Christine Dodrill - Blog - Contact - Gallery - Resume - Talks - Signal Boost | GraphViz - When Then Zen

+

Christine Dodrill - Blog - Contact - Gallery - Resume - Talks - Signal Boost - Feeds | GraphViz - When Then Zen

diff --git a/templates/feeds.html b/templates/feeds.html new file mode 100644 index 0000000..b0780c3 --- /dev/null +++ b/templates/feeds.html @@ -0,0 +1,14 @@ +{{ define "title" }} +Feeds - Christine Dodrill +{{ end }} + +{{ define "content" }} +

Feeds

+ + + +{{ end }}