looking in invalid directory for site.css #2

Closed
opened 2026-10-05 03:07:11 +02:00 by adam · 3 comments
Owner

in /contrib/templates/default/post_fail.mustache

<link rel="stylesheet" href="{{prefix}}static/site.css"></link>

but since browser posts to http://site.tld/post/overchan.test

browser will try to load

/post/static/site.css

but content is in /static/site.css

probably a couple of the .mustache files have this issue

which is why the captcha failed page hurts my eyes :/

in /contrib/templates/default/post_fail.mustache `<link rel="stylesheet" href="{{prefix}}static/site.css"></link>` but since browser posts to http://site.tld/post/overchan.test browser will try to load /post/static/site.css but content is in /static/site.css probably a couple of the .mustache files have this issue which is why the captcha failed page hurts my eyes :/ <!-- github-sync-id:109648192 -->
adam closed this issue 2026-10-05 03:07:11 +02:00
Author
Owner

forgot to pass in a parameter when rendering templates
probably fixed in https://github.com/majestrate/srndv2/commit/e8ad070534eed2122167eed137422985aed97717

forgot to pass in a parameter when rendering templates probably fixed in https://github.com/majestrate/srndv2/commit/e8ad070534eed2122167eed137422985aed97717 <!-- github-comment-id:145294594 -->
Author
Owner

is it fixed on your end?

is it fixed on your end? <!-- github-comment-id:145333735 -->
Author
Owner

Yes.

Yes. <!-- github-comment-id:145367225 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/nntpchan#2