Website Config

Note: Website configuration is cached. It can take up to 1 minute for changes to take effect.

featureFlags

KeyValue
example
false

events

KeyValue
recurring
[{"name":"Hacktoberfest Thailand","schedule":"October"},{"name":"Stupid Hackathon in Thailand","schedule":"Late Q2 - Early Q3"},{"name":"Bingsu.js","schedule":"Post meetups"}]

guilds

KeyValue
featured
[{"id":"StupidHackTH","name":"Stupid Hackathon in Thailand"},{"id":"ShowdownSpace","name":"showdown.space"},{"name":"Tech Club Circle"},{"id":"BangkokOpenSource","name":"Bangkok Open Source"},{"id":"CreativeCoding","name":"Creative Coding"}]

announcements

Announcements are for displaying site-wide banner at the top of the page. Useful for displaying current events. Each announcement will be evaluated according to this criteria:

  1. If enabled is false, it will not be shown.
  2. If start is set and the time has not yet arrived, it will not be shown.
  3. If end is set and the time has passed, it will not be shown.
  4. Otherwise, it will be shown.

If many announcements fulfill the criteria, only the first one will be shown. Click on one of the announcement keys below to preview the announcement.

KeyValue
creativeCodingMeetup
{"enabled":true,"message":"Current event: Creative coding meetup — Watch live on Facebook.","link":"https://creatorsgarten.org/wiki/CurrentEvent","start":"2023-05-03T12:00:00.000Z","end":"2023-05-03T15:00:00.000Z"}
creativeCodingMeetupSoon
{"enabled":true,"message":"Upcoming event: Creative coding meetup on May 3rd @ 18:00. Live streaming is available.","link":"https://creatorsgarten.org/event/creativecodingmeetup","start":null,"end":"2023-05-03T15:00:00.000Z"}
example
{"enabled":false,"message":"This is an example announcement.","link":"https://creatorsgarten.org/wiki/CurrentEvent","start":"2022-12-31T17:00:00.000Z","end":"2122-12-31T17:00:00.000Z"}

Metadata

EDIT 14 May 2023 / @dtinth
HISTORY GitHub

Share