Rename follow.html to follow

This commit is contained in:
Brian Picciano 2022-05-20 14:32:31 -06:00
parent af434077ef
commit ae1fa76efc
2 changed files with 2 additions and 2 deletions

View File

@ -204,7 +204,7 @@ func (a *api) handler() http.Handler {
)) ))
mux.Handle("/static/", http.FileServer(http.FS(staticFS))) 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()) mux.Handle("/", a.renderIndexHandler())
var globalHandler http.Handler = mux var globalHandler http.Handler = mux

View File

@ -31,7 +31,7 @@
<div class="five columns light"> <div class="five columns light">
<span style="display:block; margin-bottom:0.5rem;">Get notified when new posts are published!</span> <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"> <button class="button-primary">
<i class="far fa-envelope"></i> <i class="far fa-envelope"></i>
Follow Follow