Command Palette
Search for a command to run...

Screenshots

The screenshot block renders an image with optional browser-frame chrome, a caption, and a separate dark-mode variant. Images are resolved from static/screenshots/.

{% screenshot
   src="dashboard.png"
   alt="The project dashboard"
   caption="The dashboard after first login"
   dark="dashboard-dark.png"
   variant="frame"
   width="720px" /%}

Attributes

AttributeRequiredEffect
srcyesImage file under static/screenshots/.
altyesAccessible description.
captionnoCaption shown beneath the image.
darknoAlternate image used when dark mode is active.
variantnoframe (faux-browser chrome, default) or flat (bordered image).
widthnoMax width, e.g. 720px. Defaults to the content column width.

Putting images in place

Drop the files into your static directory:

  • static/
    • screenshots/
      • dashboard.png
      • dashboard-dark.png

In Docker, mount your assets at /static — they are merged into the image's static/, so you only override what you provide. See Static assets.