Skip to content
New: Customize your theme with an AI assistant. Read the guide

File Structure

After unzipping the theme, you will find a structure like this:

  • Directorythemes/
    • Directorylumio/ (📌 Main theme folder)
      • …
  • changelog.html (🔗 Links to online changelog)
  • documentation.html (🔗 Links to online documentation)

In the Tina edition, the main theme folder is lumio-tina. In the Sanity edition, it is lumio-sanity.


Main Theme Directory Structure

This is the Astro edition. The Tina and Sanity editions have the same layout, with the differences listed below.

  • Directorylumio/
    • Directory.cursor/
      • Directoryrules/
        • theme-architecture.mdc (AI: Cursor)
    • Directory.github/
      • copilot-instructions.md (AI: GitHub Copilot)
    • Directory.windsurf/
      • Directoryrules/
        • theme-architecture.md (AI: Windsurf)
    • AGENTS.md (AI: the main instructions)
    • CLAUDE.md (AI: Claude Code)
    • GEMINI.md (AI: Gemini CLI)
    • SKILLS.md (AI: step-by-step recipes)
    • CHANGELOG.md
    • README.md
    • astro.config.mjs
    • netlify.toml
    • package.json
    • package-lock.json
    • vercel.json
    • vercel.sh
    • wrangler.toml
    • … (editor, formatter, and test settings)
    • Directorypublic/
      • .htaccess
      • _headers
      • Directoryimages/
        • Directoryfavicons/
          • …
        • og-image.jpg
      • Directoryplyr/
        • …
      • umami.is.js
      • Directoryvideos/
        • …
    • Directoryscripts/
      • dev.mjs
      • generate-favicons.mjs
      • generate-multilingual-content.mjs
      • remove-draft-from-sitemap.mjs
      • remove-multilingual.mjs
      • toml-watcher.mjs
    • Directorysrc/
      • Directory__tests__/ (Unit tests)
        • …
      • Directoryassets/
        • Directoryimages/
          • …
      • Directoryconfig/ (Site-wide settings)
        • config.toml
        • fonts.json
        • language.json
        • menu.ar.json
        • menu.en.json
        • menu.fr.json
        • social.json
      • Directorycontent/ (Content, with a folder per language in each)
        • Directoryabout/
          • Directoryarabic/
            • …
          • Directoryenglish/
            • …
          • Directoryfrench/
            • …
        • Directoryauthor/
          • …
        • Directoryblog/
          • …
        • Directorycase-studies/
          • …
        • Directorycontact/
          • …
        • Directoryfaq/
          • …
        • Directoryfeatures/
          • …
        • Directoryhomepage/
          • …
        • Directorypages/ (Components page, privacy policy, terms)
          • …
        • Directorypricing/
          • …
        • Directorysections/ (The content of each section)
          • …
        • Directoryservices/
          • …
        • Directoryteam/
          • …
        • Directorytestimonial/
          • …
        • _file_format.md (Frontmatter docs)
      • Directoryi18n/ (Interface labels)
        • ar.json
        • en.json
        • fr.json
      • Directorylayouts/
        • Base.astro
        • Directorycomponents/
          • BlogSinglePageLayout.astro
          • Button.astro
          • ButtonContent.astro
          • SinglePageLayout.astro
          • Directorycards/
            • …
          • Directoryglobal/
            • Footer.astro
            • FooterTwo.astro
            • Head.astro
            • Logo.astro
            • SectionBadge.astro
            • SectionTitle.astro
            • Directoryfooter/
              • FooterAi.astro
              • FooterCredit.astro
            • Directoryheader/
              • Header.astro
              • HeaderTwo.astro
              • HeaderThree.astro
              • Navbar.astro
              • MenuItem.astro
              • NavStage.astro
              • Topbar.astro
              • TopbarTwo.astro
              • … (other menu components)
          • Directorysections/
            • …
          • Directoryseo/
            • …
          • Directorysocial/
            • …
          • Directoryutilities/
            • …
          • Directorywidgets/
            • …
        • Directoryhelpers/
          • …
        • Directoryshortcodes/
          • …
      • Directorylib/
        • Directoryintegrations/
          • …
        • shortcodes.ts
        • Directoryutils/
          • …
      • Directorypages/
        • Directory[…lang]/
          • index.astro (Home 1)
          • home-two.astro
          • home-three.astro
          • about.astro
          • contact.astro
          • faq.astro
          • pricing.astro
          • team.astro
          • 404.astro (Other languages’ 404 pages)
          • [page].astro (Other pages)
          • llms.txt.ts
          • llms-full.txt.ts
          • Directoryblog/
            • …
          • Directorycase-studies/
            • …
          • Directoryservices/
            • …
        • […path].md.ts (Markdown copies)
        • 404.astro
        • robots.txt.ts
      • Directoryplugins/
        • fontTailwindPlugin.js
        • Directoryodometer/
          • …
        • scroll-menu.ts
        • sticky-sidebar.js
      • Directorystyles/
        • animation.css
        • base.css
        • buttons.css
        • components.css
        • global.css
        • navigation.css
        • rtl-theme.css
        • rtl.css
        • safe.css
        • theme.css
        • utilities.css
      • Directorytypes/
        • …
      • content.config.ts
      • sections.schema.ts

What Differs By Edition

PathAstroTinaSanity
src/content/, src/i18n/, src/config/menu.<lang>.jsonYesYesNo. These are documents in your Sanity project
scripts/dev.mjsYesNo. npm run dev runs scripts/tina/run.mjsYes
src/lib/shortcodes.tsYesYesNo
.env.exampleNoYesYes
tina/, scripts/tina/, scripts/cms/, public/admin/, src/layouts/components/tina/, src/lib/tina/NoYesNo
sanity/, sanity.config.ts, sanity.cli.ts, scripts/sanity/, src/lib/sanity/, src/sanity-routes/, src/middleware.ts, src/env.d.tsNoNoYes

In the Sanity edition, the demo content is in sanity/seed/demo-content.json. In the Tina edition, the blog, services, and case studies listing pages and the privacy policy and terms are .mdx files, not .md.

Key Directories & Their Purpose

/public⟶ Static Assets
  • Stores favicons, the Open Graph image, videos, and player assets, served as they are.
  • Files in this folder are available by URL, such as /images/og-image.jpg.
/src/content⟶ Editable Theme Content
  • Holds almost all user-editable content for pages and reusable sections.
  • Each collection has a folder per language: english/, french/, and arabic/.
/src/layouts⟶ Components, Sections, and Shortcodes
  • Lumio stores its UI components under src/layouts/components/.
  • The project uses path aliases like @/components/..., which map to src/layouts/components/....
  • MDX shortcodes live in src/layouts/shortcodes/.
/scripts⟶ Build Helpers
  • dev.mjs runs npm run dev, except in the Tina edition.
  • toml-watcher.mjs turns config.toml into the settings file the theme reads.
  • generate-multilingual-content.mjs adds a language, and remove-multilingual.mjs removes every language except your default one.
  • generate-favicons.mjs creates favicon assets from the source logo.
  • remove-draft-from-sitemap.mjs removes draft pages from the sitemap.

⚙️ Key Configuration Files

astro.config.mjs- Astro Configuration
  • Configures Astro integrations, markdown plugins, sitemap generation, image behavior, i18n routing, and Tailwind.
  • Fonts are generated from src/config/fonts.json.
src/config/config.toml- Global Theme Settings
  • Main control file for theme settings. Most settings have a comment.
  • In the Tina edition, it is Site settings at /admin/. In the Sanity edition, Site settings in the Studio wins over the same value in this file, and the language settings, folder names, and favicon stay here.
SectionWhat it controls
[site], [site.favicon]Title, description, tagline, baseUrl, logo, trailing slash, and favicon
[seo]author, keywords, and robots
[seo.robotsTxt]robots.txt, including the aiSearch and aiTraining crawler switches
[seo.ai]llms.txt, llms-full.txt, and the Markdown copies of your pages
[seo.sitemap]The sitemap
[contact]Your address, phone, and email
[settings]Folder names, pagination, stickyHeader, contactFormAction, contactFormProvider, and footerDescription
[settings.copyright]The footer copyright line
[settings.subscription]The Mailchimp newsletter form in the footer
[settings.multilingual]enable, defaultLanguage, disableLanguages, and showDefaultLangInUrl
[settings.navigationButton]The button in the header
[settings.announcementBar]The announcement in Header Three’s top bar
[settings.markup.tableOfContents]The table of contents on text pages, such as the privacy policy
[settings.smoothScroll]Smooth scrolling. See Smooth Scroll
[settings.pageActions]The Ask AI links. See AI Links & llms
[settings.themeCredit]The theme credit in the footer and in llms.txt
[opengraph]image, ogLocale, ogType, twitter, and twitterCard
[head]Your analytics tags and other code for the page head
src/content.config.ts- Content Collections
  • Defines collections for pages, services, blog, case studies, team, testimonials, sections, and more.
  • Reuses schemas from src/sections.schema.ts.
Styling & Fonts
  • Theme tokens and design variables live in src/styles/theme.css.
  • Fonts are configured in src/config/fonts.json.

Other Important Files

  • package.json → Dependencies and npm scripts.
  • tsconfig.json → Path aliases such as @/components/*, @/shortcodes/*, and @/helpers/*.
  • vercel.json / vercel.sh / netlify.toml / wrangler.toml → Deployment configuration.
  • AGENTS.md, SKILLS.md, CLAUDE.md, GEMINI.md, .github/copilot-instructions.md, .cursor/rules/theme-architecture.mdc, .windsurf/rules/theme-architecture.md → Instructions for coding assistants.

Now that you understand the structure, the next step is branding the site and configuring the logo.

Type something to search...