From f40fee44e8f256328ca1419863b5441123a1014e Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 10 Apr 2026 10:23:20 +0300 Subject: Release v0.1.0 Splash: skip via ?splash=0 on pagination to index; frosted panel and vignette for readable copy; brighter hint/tag colors. Pagination links only at bottom of each page. Tests updated for prev href to index. Made-with: Cursor --- integrationtests/integration_test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'integrationtests') diff --git a/integrationtests/integration_test.go b/integrationtests/integration_test.go index 0ee0183..834d878 100644 --- a/integrationtests/integration_test.go +++ b/integrationtests/integration_test.go @@ -118,6 +118,8 @@ func TestTxtInput(t *testing.T) { // index.html must contain the post text. index := readFile(t, filepath.Join(outputDir, "index.html")) assertContains(t, index, "Hello, Nexus!", "index.html") + assertContains(t, index, "splash-gl-canvas", "index.html splash WebGL canvas") + assertContains(t, index, `href="atom.xml"`, "index.html atom feed link") } // TestMarkdownInput verifies Markdown files are converted to HTML. @@ -282,7 +284,8 @@ func TestPaginationNavLinks(t *testing.T) { } page2 := readFile(t, filepath.Join(outputDir, "page2.html")) - // page2.html should have a prev link (index.html) and no next. + // page2.html should have a prev link to index with splash=0 (keyboard nav has no reliable Referer). + assertContains(t, page2, `href="index.html?splash=0"`, "page2.html prev href skips splash") assertContains(t, page2, "NEWER TRANSMISSIONS", "page2.html prev link") if strings.Contains(page2, "OLDER TRANSMISSIONS") { t.Error("page2.html should not have a next-page link") -- cgit v1.2.3