summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2022-05-20 14:32:31 -0600
committerBrian Picciano <mediocregopher@gmail.com>2022-05-20 14:32:31 -0600
commitae1fa76efc0d771ca50dede367bd228ce9f7b969 (patch)
tree2ff2a5378d94612ed4eb15b7c9699ec5dbe7b09d
parentaf434077ef3a971494fb0bc69ec9617c3b365abd (diff)
Rename follow.html to follow
-rw-r--r--srv/src/http/api.go2
-rw-r--r--srv/src/http/tpl/base.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/srv/src/http/api.go b/srv/src/http/api.go
index 8e89c4e..4d049ed 100644
--- a/srv/src/http/api.go
+++ b/srv/src/http/api.go
@@ -204,7 +204,7 @@ func (a *api) handler() http.Handler {
))
mux.Handle("/static/", http.FileServer(http.FS(staticFS)))
- mux.Handle("/follow.html", a.renderDumbTplHandler("follow.html"))
+ mux.Handle("/follow", a.renderDumbTplHandler("follow.html"))
mux.Handle("/", a.renderIndexHandler())
var globalHandler http.Handler = mux
diff --git a/srv/src/http/tpl/base.html b/srv/src/http/tpl/base.html
index e209034..5955bee 100644
--- a/srv/src/http/tpl/base.html
+++ b/srv/src/http/tpl/base.html
@@ -31,7 +31,7 @@
<div class="five columns light">
<span style="display:block; margin-bottom:0.5rem;">Get notified when new posts are published!</span>
- <a href="{{ BlogURL "follow.html" }}">
+ <a href="{{ BlogURL "follow" }}">
<button class="button-primary">
<i class="far fa-envelope"></i>
Follow