Add custom CSS & JS
Openkosssi (GitHub) · · edited
Problem Statement
I wish I could easily add CSS and JS. Whether it's to make micro-arrangements or add a menu like LaGaufre
Proposed Solution
Add KANEO_CUSTOM_CSS_URL and KANEO_CUSTOM_JS_URL environment variables and load this files only if it's defined.
Alternative Solutions
Compile my own Kaneo 🙃
Relevant Context
Here are some applications that have implemented this type of functionality:
- Grist :
- APP_STATIC_INCLUDE_CUSTOM_CSS: set to "true" to include custom.css (from APP_STATIC_URL) in static pages
- GRIST_INCLUDE_CUSTOM_SCRIPT_URL: if set, will load the referenced URL in a
ROA-854
Original GitHub comment
I like this a lot, will take a look into how Kaneo can be customized further!
Original GitHub comment