Merge branch 'master' of github.com:kirsle/blog

This commit is contained in:
Noah 2018-01-02 19:19:03 +00:00
commit 4cfc5bbd3d

View File

@ -42,7 +42,7 @@ func (b *Blog) BlogRoutes(r *mux.Router) {
r.HandleFunc("/archive", b.BlogArchive)
r.HandleFunc("/tagged", b.Tagged)
r.HandleFunc("/tagged/{tag}", b.Tagged)
r.HandleFunc("/category/{tag}", func(w http.ResponseWriter, r *http.Request) {
r.HandleFunc("/blog/category/{tag}", func(w http.ResponseWriter, r *http.Request) {
params := mux.Vars(r)
tag, ok := params["tag"]
if !ok {