add: town square forum config
This commit is contained in:
parent
d4ff681310
commit
548a6dcf4e
8 changed files with 73 additions and 5 deletions
|
@ -308,6 +308,13 @@ pub struct Config {
|
|||
/// This community **must** have open write access.
|
||||
#[serde(default)]
|
||||
pub town_square: usize,
|
||||
/// The ID of the town square forum community.
|
||||
#[serde(default)]
|
||||
pub town_square_forum: usize,
|
||||
/// The ID of the topic within the town square forum community that users are prompted
|
||||
/// to post in by default. This should be some sort of "general" topic.
|
||||
#[serde(default)]
|
||||
pub town_square_forum_topic: usize,
|
||||
#[serde(default)]
|
||||
pub connections: ConnectionsConfig,
|
||||
/// The path to the HTML footer file. The contents of this file are embedded
|
||||
|
@ -430,6 +437,8 @@ impl Default for Config {
|
|||
policies: default_policies(),
|
||||
turnstile: default_turnstile(),
|
||||
town_square: 0,
|
||||
town_square_forum: 0,
|
||||
town_square_forum_topic: 0,
|
||||
connections: default_connections(),
|
||||
html_footer_path: String::new(),
|
||||
stripe: None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue