How The Theme Is Organized
This theme is made of five main parts. Use this map before you edit anything.
The 5 Key Places
src/content/contains your text and data (Markdown or MDX).src/pages/decides which pages exist and which sections are used.src/layouts/components/sections/contains the visual sections.src/config/config.tomlcontrols global settings.src/styles/theme.csscontrols colors and typography.
In the Sanity edition, your text and data are in the Studio instead of src/content/. See Theme Editions.
Find What You Need
- If you want to change text, go to
src/content/. - If you want to change layout, go to
src/layouts/components/sections/. - If you want to change site-wide settings, go to
src/config/config.toml. - If you want to change colors or fonts, go to
src/styles/theme.cssandsrc/config/fonts.json.
Quick Example
You want to change the homepage hero text.
- Open
src/content/sections/<language>/home-banner.md, where<language>is a folder such asenglish. - Edit the text in frontmatter.
- Save and refresh the dev server.
In Finzo, src/content/homepage/<language>/-index.md holds only the homepage’s title and meta description. The homepage’s sections are listed in src/pages/[...lang]/index.astro, and each one reads its own file in src/content/sections/<language>/.
Hiding A Section
Most section files have enable: true. Set it to false to hide that section on every page that uses it. The hero (home-banner.md) and the integrations section (integration-section.md) have no such switch, so remove them from the page file in src/pages/[...lang]/ instead.