User-customizable CSS (when translating to HTML) #9

Closed
opened 5 months ago by f · 1 comments
f commented 5 months ago

The assets/styles.css path is hardcoded (https://code.rocketnine.space/tslocum/twins/src/branch/master/serve_https.go#L33), and I see no way to overwrite this with my own styles.css. Is there a way to manipulate the CSS (and even the HTML)? Maybe add a way to overwrite the styles with a file in the root?

The ```assets/styles.css``` path is hardcoded (https://code.rocketnine.space/tslocum/twins/src/branch/master/serve_https.go#L33), and I see no way to overwrite this with my own styles.css. Is there a way to manipulate the CSS (and even the HTML)? Maybe add a way to overwrite the styles with a file in the ```root```?
tslocum changed title from Change style.css to User-customizable CSS (when translating to HTML) 5 months ago
tslocum added the
enhancement
label 5 months ago
f commented 5 months ago
Poster

I've added a configuration option styles (per host/domain because /assets/styles.css has no path component to use) to overwrite the styles response.

I've added a configuration option ```styles``` (per host/domain because ```/assets/styles.css``` has no path component to use) to overwrite the styles response.
tslocum closed this issue 3 months ago
tslocum referenced this issue from a commit 3 months ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.