The base Reflex structure is intended to provide a great starting point for building your site.
However, Reflex imposes no restrictions on how you organize your content.
Every theme exposes a
contentPath option that you can use to change where you place content files.
mysite├── content│ ├── blocks│ ├── images│ ├── navs│ └── pages├── .env.example├── .gitignore├── gatsby-config.js├── package.json└── README.md
The content directory contains all your site content. This is where you place your pages, blocks and images.
The blocks directory is for your re-usable blocks. Place your blocks here and reference them in your pages using the block name.
Learn more about blocks
<Block src="name-of-block" /> is for a block at
The images directory is for your images. Add your image files here and use the
Image component to render them.
Learn more about images
<Image src="name-of-image.png" /> will render an image placed at
The navs directory is for navigation menus. Add your menus here and use the
NavMenu component to place them in blocks or pages.
Learn more about navs
<NavMenu name="header" /> will render a nav placed at
This directory is where you place your pages. Every file placed in the pages directory are automatically turned into pages with the page name as the slug.
A page at
content/pages/example.mdx will turned into a page with the