summaryrefslogtreecommitdiff
path: root/srv/src/http/tpl
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2022-05-20 19:19:32 -0600
committerBrian Picciano <mediocregopher@gmail.com>2022-05-20 19:19:32 -0600
commit1181af0318059e41d5564e6ef786122c7ee4c8e1 (patch)
tree9e9f18a21892af880672f944471d9033bfbf61e5 /srv/src/http/tpl
parentc4692f72e3b0bf18f737add2bbd4e353274fe3ac (diff)
Don't use EDIT method, only POSTs should use alt methods
Diffstat (limited to 'srv/src/http/tpl')
-rw-r--r--srv/src/http/tpl/posts.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/srv/src/http/tpl/posts.html b/srv/src/http/tpl/posts.html
index 714cf07..c3aad0c 100644
--- a/srv/src/http/tpl/posts.html
+++ b/srv/src/http/tpl/posts.html
@@ -22,7 +22,7 @@
<p style="text-align: center;">
- <a href="{{ BlogURL "posts/" }}?method=edit">
+ <a href="{{ BlogURL "posts/" }}?edit">
<button>New Post</button>
</a>
</p>
@@ -36,7 +36,7 @@
<td>{{ .PublishedAt }}</td>
<td><a href="{{ PostURL .ID }}" target="_blank">{{ .Title }}</a></td>
<td>
- <a href="{{ PostURL .ID }}?method=edit">
+ <a href="{{ PostURL .ID }}?edit">
<button>Edit</button>
</a>
</td>