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)2 years ago
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.
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 theroot
?Change style.cssto User-customizable CSS (when translating to HTML) 2 years agoI've added a configuration option
styles
(per host/domain because/assets/styles.css
has no path component to use) to overwrite the styles response.