Skip to content

sitegen: the page header carries the go2cs logo - #15

Merged
ritchiecarroll merged 1 commit into
mainfrom
coord/sitegen-logo-header
Nov 13, 2026
Merged

ritchiecarroll merged 1 commit into
mainfrom
coord/sitegen-logo-header

Conversation

@ritchiecarroll

Copy link
Copy Markdown
Owner

The nugetgo.net page header now matches the README's header line: the go2cs logo (35 px, linked to go2cs.net) before "nugetgo".

  • render.go: the h1 markup; img-src https://go2cs.net added to the page CSP (default-src stays 'none'); h1 img { vertical-align: middle; } in the hashed stylesheet.
  • sitegen_test.go: TestContentSecurityPolicyMatches requires the img-src (proven red without it).
  • go vet and go test pass; the generated page was rendered locally and the logo loads under the CSP.

🤖 Generated with Claude Code

The h1 opens with the go2cs logo (go2cs.net/images/go2cs-small.png, 35 px, linked to go2cs.net),
matching the README header line. The page's CSP gains img-src https://go2cs.net so the logo loads;
default-src stays 'none'. A rule in the hashed stylesheet centres the logo on the heading.
TestContentSecurityPolicyMatches requires the img-src (red without it).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ritchiecarroll
ritchiecarroll merged commit b19614b into main Nov 13, 2026
3 checks passed
@ritchiecarroll
ritchiecarroll deleted the coord/sitegen-logo-header branch November 13, 2026 04:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant