~tristan957/public-inbox

Owen Salter: 1
 Fix pagination

 1 files changed, 1 insertions(+), 1 deletions(-)
Howdy,
Next
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~tristan957/public-inbox/patches/11315/mbox | git am -3
Learn more about email & git

[PATCH] Fix pagination Export this patch

Small error caused the pagination to try to put the previous page's URL
where the next page's should be, causing an error generating the first
page.
---
 layouts/_default/list.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 5800688..25d0a3e 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -23,7 +23,7 @@
					</a>
				{{ end }}
				{{ if $paginator.HasNext }}
					<a class="btn btn-primary" style="float: right;" href="{{ $paginator.Prev.URL }}">
					<a class="btn btn-primary" style="float: right;" href="{{ $paginator.Next.URL }}">
						Page {{ $paginator.Next.PageNumber }}
						<span>
							<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 192 512">
-- 
2.27.0
Owen,

I am so stupid! I never saw this email in my inbox. I have been
iterating on my website quite a bit recently, and finally got enough
blogs down to realize the mistake I made here. Ended up fixing other
pagination issues as well.

I ended up finding your blog. Cool that your site looks a lot like
mine. I made quite a few changes around how it is configured, so if
you wanted to pull updates from the source html files, it should be
much easier now.

Maybe at some point I will actually get a real Hugo theme going.

Any thoughts on GPL-3.0 vs AGPL-3.0 for personal websites like yours
and mine? I am currently going with the AGPL, but I feel like it
could be the wrong license.

Tristan

PS: I am pretty much a noob when it comes to mailing lists, so
partially why I missed your patch :).