feat: pass extra css (#1392)

This commit is contained in:
Markos Gogoulos
2025-09-24 19:01:06 +03:00
committed by GitHub
parent 1c1af489f1
commit 553a25a86f
3 changed files with 22 additions and 10 deletions

View File

@@ -105,16 +105,23 @@ USE_L10N = True
USE_TZ = True
SITE_ID = 1
# these are the logos by default. SVG gets a priority
# which means it will be used if available
# if you want to override them, set the new paths here
# and place the files on the static/images folder
# these are the portal logos (dark and light)
# set new paths for svg or png if you want to override
# svg has priority over png, so if you want to use
# custom pngs and not svgs, remove the lines with svgs
# or set as empty strings
# example:
# PORTAL_LOGO_DARK_SVG = ""
# PORTAL_LOGO_LIGHT_SVG = ""
# place the files on static/images folder
PORTAL_LOGO_DARK_SVG = "/static/images/logo_dark.svg"
PORTAL_LOGO_DARK_PNG = "/static/images/logo_dark.png"
PORTAL_LOGO_LIGHT_SVG = "/static/images/logo_light.svg"
PORTAL_LOGO_LIGHT_PNG = "/static/images/logo_dark.png"
# paths to extra css files to be included, eg "/static/css/custom.css"
# place css inside static/css folder
EXTRA_CSS_PATHS = []
# protection agains anonymous users
# per ip address limit, for actions as like/dislike/report
TIME_TO_ACTION_ANONYMOUS = 10 * 60