added donation link enable/disable in cfg file & custom dono link

This commit is contained in:
mooleshacat 2024-10-22 08:44:25 -04:00
parent 4fecf3efc2
commit 1dfdbb282a
No known key found for this signature in database
GPG Key ID: 89DDFF5BD326A1B9
3 changed files with 57 additions and 5 deletions

View File

@ -246,6 +246,40 @@ tokenmon_enabled: true
# Features
# -----------------------------
##
## Enable/Disable catspeed branding.
##
## Accepted values: true, false
## Default: true
##
#catspeed_branding_enabled: false
##
## Enable/Disable showing the catspeed donation link (please :3c)
##
## Accepted values: true, false
## Default: true
##
#catspeed_donolink_enabled: false
##
## Enable/Disable showing the invidious donation link (please :3c)
##
## Accepted values: true, false
## Default: true
##
#invidious_donolink_enabled: false
##
## Enable/Disable showing your custom donation link
##
## Accepted values: true, false
## Default: false
##
#custom_donolink_enabled: true
#custom_donolink_text: "Donate to mysite.com"
#custom_donolink_link: "https://mysite.com/donate/"
##
## Enable/Disable showing the uptime on the main page.
##

View File

@ -102,6 +102,12 @@ class Config
property tokenmon_enabled : Bool = true
# Subscribe to channels using PubSubHubbub (requires domain, hmac_key)
property use_pubsub_feeds : Bool | Int32 = false
property catspeed_branding_enabled : Bool = true
property catspeed_donolink_enabled : Bool = true
property invidious_donolink_enabled : Bool = true
property custom_donolink_enabled : Bool = false
property custom_donolink_text : String = ""
property custom_donolink_link : String = ""
property popular_enabled : Bool = true
property uptime_enabled : Bool = false
property loadavg_enabled : Bool = false

File diff suppressed because one or more lines are too long