summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2023-01-23 21:26:08 +0100
committerBrian Picciano <mediocregopher@gmail.com>2023-01-23 21:33:45 +0100
commit26dbc6691dbe038cbbbeb11195678d77693b335d (patch)
tree71d592bfd6898d8e4e9825d106f2b7d0d418bd78
parent57719f29b9b44d4cdcf395c6de587d1ca9370505 (diff)
Fix page navigation in posts/drafts manage pages
-rw-r--r--src/http/tpl/draft-posts-manage.html4
-rw-r--r--src/http/tpl/posts-manage.html4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/http/tpl/draft-posts-manage.html b/src/http/tpl/draft-posts-manage.html
index 12aadb2..5454f24 100644
--- a/src/http/tpl/draft-posts-manage.html
+++ b/src/http/tpl/draft-posts-manage.html
@@ -12,7 +12,7 @@
{{ if ge .Payload.PrevPage 0 }}
<p>
- <a href="?p={{ .Payload.PrevPage}}">&lt; &lt; Previous Page</a>
+ <a href="?method=manage&p={{ .Payload.PrevPage}}">&lt; &lt; Previous Page</a>
</p>
{{ end }}
@@ -41,7 +41,7 @@
{{ if ge .Payload.NextPage 0 }}
<p>
- <a href="?p={{ .Payload.NextPage}}">Next Page &gt; &gt;</a>
+ <a href="?method=manage&p={{ .Payload.NextPage}}">Next Page &gt; &gt;</a>
</p>
{{ end }}
diff --git a/src/http/tpl/posts-manage.html b/src/http/tpl/posts-manage.html
index cfb2ec9..17e7274 100644
--- a/src/http/tpl/posts-manage.html
+++ b/src/http/tpl/posts-manage.html
@@ -8,7 +8,7 @@
{{ if ge .Payload.PrevPage 0 }}
<p>
- <a href="?p={{ .Payload.PrevPage}}">&lt; &lt; Previous Page</a>
+ <a href="?method=manage&p={{ .Payload.PrevPage}}">&lt; &lt; Previous Page</a>
</p>
{{ end }}
@@ -38,7 +38,7 @@
{{ if ge .Payload.NextPage 0 }}
<p>
- <a href="?p={{ .Payload.NextPage}}">Next Page &gt; &gt;</a>
+ <a href="?method=manage&p={{ .Payload.NextPage}}">Next Page &gt; &gt;</a>
</p>
{{ end }}