Rename follow.html to follow

main
Brian Picciano 2 years ago
parent af434077ef
commit ae1fa76efc
  1. 2
      srv/src/http/api.go
  2. 2
      srv/src/http/tpl/base.html

@ -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

@ -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

Loading…
Cancel
Save