mirror of
https://github.com/iv-org/invidious.git
synced 2025-06-16 18:59:14 -04:00
added donation link enable/disable in cfg file & custom dono link
This commit is contained in:
parent
4fecf3efc2
commit
1dfdbb282a
3 changed files with 57 additions and 5 deletions
|
@ -246,6 +246,40 @@ tokenmon_enabled: true
|
||||||
# Features
|
# 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.
|
## Enable/Disable showing the uptime on the main page.
|
||||||
##
|
##
|
||||||
|
|
|
@ -102,6 +102,12 @@ class Config
|
||||||
property tokenmon_enabled : Bool = true
|
property tokenmon_enabled : Bool = true
|
||||||
# Subscribe to channels using PubSubHubbub (requires domain, hmac_key)
|
# Subscribe to channels using PubSubHubbub (requires domain, hmac_key)
|
||||||
property use_pubsub_feeds : Bool | Int32 = false
|
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 popular_enabled : Bool = true
|
||||||
property uptime_enabled : Bool = false
|
property uptime_enabled : Bool = false
|
||||||
property loadavg_enabled : Bool = false
|
property loadavg_enabled : Bool = false
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue