diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2022-05-24 17:27:03 -0600 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2022-05-24 17:27:03 -0600 |
commit | 159638084e167047b86fd65382f50cd099d4eb48 (patch) | |
tree | d4653540894da749726f4f8be988fe6df8d195a7 /srv/src/http/tpl/posts.html | |
parent | 88ebaeda8f02e2c89dac44809fffb1f9ebb71bd0 (diff) |
Fix CSRF loading on static GET pages
Diffstat (limited to 'srv/src/http/tpl/posts.html')
-rw-r--r-- | srv/src/http/tpl/posts.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/srv/src/http/tpl/posts.html b/srv/src/http/tpl/posts.html index c3aad0c..0609ff6 100644 --- a/srv/src/http/tpl/posts.html +++ b/srv/src/http/tpl/posts.html @@ -20,7 +20,6 @@ {{ $csrfFormInput := .CSRFFormInput }} - <p style="text-align: center;"> <a href="{{ BlogURL "posts/" }}?edit"> <button>New Post</button> @@ -56,6 +55,8 @@ {{ template "posts-nextprev" . }} + {{ template "load-csrf.html" . }} + {{ end }} {{ template "base.html" . }} |