|
|
@ -105,6 +105,7 @@ struct Config
|
|
|
|
hmac_key: String?, # HMAC signing key for CSRF tokens and verifying pubsub subscriptions
|
|
|
|
hmac_key: String?, # HMAC signing key for CSRF tokens and verifying pubsub subscriptions
|
|
|
|
domain: String?, # Domain to be used for links to resources on the site where an absolute URL is required
|
|
|
|
domain: String?, # Domain to be used for links to resources on the site where an absolute URL is required
|
|
|
|
use_pubsub_feeds: {type: Bool | Int32, default: false}, # Subscribe to channels using PubSubHubbub (requires domain, hmac_key)
|
|
|
|
use_pubsub_feeds: {type: Bool | Int32, default: false}, # Subscribe to channels using PubSubHubbub (requires domain, hmac_key)
|
|
|
|
|
|
|
|
use_feed_events: {type: Bool, default: false}, # Update feeds on receiving notifications
|
|
|
|
default_home: {type: String, default: "Top"},
|
|
|
|
default_home: {type: String, default: "Top"},
|
|
|
|
feed_menu: {type: Array(String), default: ["Popular", "Top", "Trending", "Subscriptions"]},
|
|
|
|
feed_menu: {type: Array(String), default: ["Popular", "Top", "Trending", "Subscriptions"]},
|
|
|
|
top_enabled: {type: Bool, default: true},
|
|
|
|
top_enabled: {type: Bool, default: true},
|
|
|
|