v1.14.1
Content
Create contextual stories under content/ using MDX — Markdown with embedded components. Every file becomes a page during the build and can pull in IIIF resources, sliders, and cards.
See the Creating Markdown Content guide for a full walkthrough.
Authoring basics
- Store
.mdxfiles undercontent/. Nested directories become URL paths. - Start each file with optional YAML front matter to set titles, metadata, and referenced manifests (see the Frontmatter guide).
- Write Markdown as usual, then drop components such as
<Viewer />or<ReferencedItems />wherever you need them.
Example
content/about/boondi.mdx
---title: A View of BoondireferencedManifests: - https://api.dc.library.northwestern.edu/api/v2/works/4bdb5a22-6c7f-498d-8e6e-e49ea9bc4778?as=iiif--- # A View of Boondi Northwestern University Libraries dates _The town & pass of Boondi, in Rajpootana_to 1826 to 1830. Explore the print in the viewer below. ## Explore the work <Viewer iiifContent="https://api.dc.library.northwestern.edu/api/v2/works/4bdb5a22-6c7f-498d-8e6e-e49ea9bc4778?as=iiif" /> <ReferencedItems />