LockdownMessagestring`description:"Message displayed when someone tries to post while the site is on lockdown."`
Sillytags[]string`description:"List of randomly selected staff tags separated by line, e.g. <span style=\"color: red;\">## Mod</span>, to be randomly assigned to posts if UseSillytags is checked. Don't include the \"## \""`
Modboardstring`description:"A super secret clubhouse board that only staff can view/post to." default:"staff"`
SiteNamestring`description:"The name of the site that appears in the header of the front page." default:"Gochan"`
SiteSloganstring`description:"The text that appears below SiteName on the home page"`
SiteHeaderURLstring`description:"To be honest, I'm not even sure what this does. It'll probably be removed later."`
SiteWebfolderstring`description:"The HTTP root appearing in the browser (e.g. https://gochan.org/<SiteWebFolder>" default:"/"`
SiteDomainstring`description:"The server's domain (duh). Do not edit this unless you know what you are doing or BAD THINGS WILL HAPPEN!" default:"127.0.0.1" critical:"true"`
Styles[]Style`description:"List of styles (one per line) that should be accessed online at <SiteWebFolder>/css/<Style>/"`
DefaultStylestring`description:"Filename of the default Style. This should appear in the list above or bad things might happen."`
AllowDuplicateImagesbool`description:"Disabling this will cause gochan to reject a post if the image has already been uploaded for another post.<br />This may end up being removed or being made board-specific in the future." default:"checked"`
AllowVideoUploadsbool`description:"Allows users to upload .webm videos. <br />This may end up being removed or being made board-specific in the future."`
NewThreadDelayint`description:"The amount of time in seconds that is required before an IP can make a new thread.<br />This may end up being removed or being made board-specific in the future." default:"30"`
ReplyDelayint`description:"Same as the above, but for replies." default:"7"`
MaxLineLengthint`description:"Any line in a post that exceeds this will be split into two (or more) lines.<br />I'm not really sure why this is here, so it may end up being removed." default:"150"`
ReservedTrips[]string`description:"Secure tripcodes (!!Something) can be reserved here.<br />Each reservation should go on its own line and should look like this:<br />TripPassword1##Tripcode1<br />TripPassword2##Tripcode2"`
ThumbWidthint`description:"OP thumbnails use this as their max width.<br />To keep the aspect ratio, the image will be scaled down to the ThumbWidth or ThumbHeight, whichever is larger." default:"200"`
ThumbHeightint`description:"OP thumbnails use this as their max height.<br />To keep the aspect ratio, the image will be scaled down to the ThumbWidth or ThumbHeight, whichever is larger." default:"200"`
ThumbWidthReplyint`description:"Same as ThumbWidth and ThumbHeight but for reply images." default:"125"`
ThumbHeightReplyint`description:"Same as ThumbWidth and ThumbHeight but for reply images." default:"125"`
ThumbWidthCatalogint`description:"Same as ThumbWidth and ThumbHeight but for catalog images." default:"50"`
ThumbHeightCatalogint`description:"Same as ThumbWidth and ThumbHeight but for catalog images." default:"50"`
ThreadsPerPageint`default:"15"`
RepliesOnBoardPageint`description:"Number of replies to a thread to show on the board page." default:"3"`
StickyRepliesOnBoardPageint`description:"Same as above for stickied threads." default:"1"`
BanColors[]string`description:"Colors to be used for public ban messages (e.g. USER WAS BANNED FOR THIS POST).<br />Each entry should be on its own line, and should look something like this:<br />username1:#FF0000<br />username2:#FAF00F<br />username3:blue<br />Invalid entries/nonexistent usernames will show a warning and use the default red."`
BanMsgstring`description:"The default public ban message." default:"USER WAS BANNED FOR THIS POST"`
EmbedWidthint`description:"The width for inline/expanded webm videos." default:"200"`
EmbedHeightint`description:"The height for inline/expanded webm videos." default:"164"`
ExpandButtonbool`description:"If checked, adds [Embed] after a Youtube, Vimeo, etc link to toggle an inline video frame." default:"checked"`
ImagesOpenNewTabbool`description:"If checked, thumbnails will open the respective image/video in a new tab instead of expanding them." default:"unchecked"`
MakeURLsHyperlinkedbool`description:"If checked, URLs in posts will be turned into a hyperlink. If unchecked, ExpandButton and NewTabOnOutlinks are ignored." default:"checked"`
NewTabOnOutlinksbool`description:"If checked, links to external sites will open in a new tab." default:"checked"`
DisableBBcodebool`description:"If checked, gochan will not compile bbcode into HTML" default:"unchecked"`
MinifyHTMLbool`description:"If checked, gochan will minify html files when building" default:"checked"`
MinifyJSbool`description:"If checked, gochan will minify js and json files when building" default:"checked"`
UseMinifiedGochanJSbool`json:"-"`
DateTimeFormatstring`description:"The format used for dates. See <a href=\"https://golang.org/pkg/time/#Time.Format\">here</a> for more info." default:"Mon, January 02, 2006 15:04 PM"`
AkismetAPIKeystring`description:"The API key to be sent to Akismet for post spam checking. If the key is invalid, Akismet won't be used."`
UseCaptchabool`description:"If checked, a captcha will be generated"`
CaptchaWidthint`description:"Width of the generated captcha image" default:"240"`
CaptchaHeightint`description:"Height of the generated captcha image" default:"80"`
CaptchaMinutesExpireint`description:"Number of minutes before a user has to enter a new CAPTCHA before posting. If <1 they have to submit one for every post." default:"15"`
EnableGeoIPbool`description:"If checked, this enables the usage of GeoIP for posts." default:"checked"`
GeoIPDBlocationstring`description:"Specifies the location of the GeoIP database file. If you're using CloudFlare, you can set it to cf to rely on CloudFlare for GeoIP information." default:"/usr/share/GeoIP/GeoIP.dat"`
MaxRecentPostsint`description:"The maximum number of posts to show on the Recent Posts list on the front page." default:"3"`
RecentPostsWithNoFilebool`description:"If checked, recent posts with no image/upload are shown on the front page (as well as those with images" default:"unchecked"`
EnableAppealsbool`description:"If checked, allow banned users to appeal their bans.<br />This will likely be removed (permanently allowing appeals) or made board-specific in the future." default:"checked"`
MaxLogDaysint`description:"The maximum number of days to keep messages in the moderation/staff log file."`