Skip to article frontmatterSkip to article content

User Interface Components

This page documents site-level UI components that appear on every page. Both components use the same configuration pattern through project.parts in myst.yml.

Display an announcement bar at the top of your site.

Configuration

Create a markdown file with your banner content and add it to myst.yml:

project:
  parts:
    banner: _site/banner.md

Behavior

Display custom content at the bottom of every page.

Configuration

Create a markdown file with your footer content and add it to myst.yml:

project:
  parts:
    footer: _site/footer.md

Behavior

Display custom content at the bottom of the primary sidebar (table of contents).

Configuration

Create a markdown file with your sidebar footer content and add it to myst.yml:

project:
  parts:
    primary_sidebar_footer: _site/primary_sidebar_footer.md

Behavior