Site configuration
MWC's sitewide configuration is set in site/config.toml
, as described in
Zola's configuration docs.
MWC-specific configuration options are stored in the [extra]
section and documented below.
extra.code_action
: Emoji to use for the look_action shortcode telling students should run something on their computers. MWC site style uses emojis to express verbs.extra.dev
: Whentrue
, enables developer mode.devnote
shortcodes will be shown.extra.favicon
: URL for the site favicon.extra.footer_menu
: Table of links to include in the site footer. For example:footer_menu = [ { text = "About", href = "/about" } ]
extra.header_menu
: Table of links to include in the site header. Each link should containtext
andhref
keys. For example:header_menu = [ { text = "MWC1", href = "/courses/mwc1" }, { text = "NY CS&DF", href = "/courses/ny-csdf" } ]
extra.logo
: URL for the site logo.extra.logo_width
: Width (in pixels) of the logo.extra.look_action
: Emoji to use for the look_action shortcode telling students to pay close attention to something.extra.release
: Semver-formatted release version of the site.extra.teacher_name
: Name of the teacher to use throughout the curriculum site. If you don't want to use a specific teacher's name, use "your teacher".