Rename follow.html to follow
This commit is contained in:
parent
af434077ef
commit
ae1fa76efc
@ -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…
Reference in New Issue
Block a user