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

File Structure

After unzipping the package, the important theme folder is:

  • Directorythemes/
    • Directorytaxo/ (Main theme folder)
      • …
  • changelog.html
  • documentation.html

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

Main Theme Directory Structure

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

  • Directorytaxo/
    • Directory.cursor/
      • Directoryrules/
        • theme-architecture.mdc (AI: Cursor)
    • Directory.github/
      • copilot-instructions.md (AI: GitHub Copilot)
    • Directory.vscode/
      • …
    • 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
    • jest.config.ts
    • netlify.toml
    • package.json
    • package-lock.json
    • tsconfig.json
    • tsconfig.jest.json
    • vercel.json
    • vercel.sh
    • wrangler.toml
    • Directorypublic/
      • .htaccess
      • _headers
      • Directoryimages/
        • …
      • Directoryplyr/
        • …
      • Directoryvideos/
        • …
    • Directoryscripts/
      • generate-favicons.mjs
      • generate-multilingual-content.mjs
      • remove-draft-from-sitemap.mjs
      • remove-multilingual.mjs
      • toml-watcher.mjs
    • Directorysrc/
      • Directory__tests__/
        • …
      • Directoryassets/
        • Directoryimages/
          • …
      • Directoryconfig/
        • config.toml
        • fonts.json
        • language.json
        • menu.ar.json
        • menu.en.json
        • menu.fr.json
        • social.json
      • Directorycontent/ (a folder per language in each: arabic/, english/, french/)
        • Directoryabout-us/
          • …
        • Directoryauthor/
          • …
        • Directoryblog/
          • …
        • Directorycase-studies/
          • …
        • Directorycontact/
          • …
        • Directoryfaq/
          • …
        • Directoryhomepage/
          • …
        • Directorypages/
          • …
        • Directorypricing/
          • …
        • Directorysections/
          • …
        • Directoryservices/
          • …
        • Directoryteam/
          • …
        • Directorytestimonial/
          • …
      • Directoryi18n/
        • ar.json
        • en.json
        • fr.json
      • Directorylayouts/
        • Directorycomponents/
          • Directorycards/
            • …
          • Directoryglobal/
            • Directoryfooter/
              • …
            • Directoryheader/
              • …
            • Footer.astro
            • FooterTwo.astro
            • Logo.astro
          • Directorysections/
            • …
          • Directoryseo/
            • …
          • Directoryutilities/
            • …
          • Directorywidgets/
            • …
        • Directoryhelpers/
          • …
        • Directoryshortcodes/
          • …
        • Base.astro
      • Directorylib/
        • Directoryintegrations/
          • …
        • Directoryutils/
          • …
        • shortcodes.ts
      • Directorypages/
        • Directory[…lang]/
          • index.astro
          • home-two.astro
          • about.astro
          • contact.astro
          • faq.astro
          • pricing.astro
          • 404.astro
          • llms.txt.ts
          • llms-full.txt.ts
          • Directoryteam/
            • …
          • Directoryblog/
            • …
          • Directorycase-studies/
            • …
          • Directoryservices/
            • …
          • [page].astro
        • […path].md.ts
        • 404.astro
        • robots.txt.ts
      • Directoryplugins/
        • …
      • Directorystyles/
        • …
      • Directorytypes/
        • …
      • content.config.ts
      • sections.schema.ts

What Differs By Edition

Tina adds:

  • .env.example
  • tina/: the editor’s setup and forms. tina/generated/collections.json is rebuilt by npm run tina:generate
  • scripts/tina/ and scripts/cms/: the scripts behind npm run dev, npm run build, npm run tina:generate, npm run tina:audit, and npm run setup:tina
  • src/lib/tina/ and src/layouts/components/tina/
  • public/admin/

In Tina, the listing pages of the blog, services, and case studies, and the privacy policy and terms pages, are .mdx files, not .md.

Sanity adds:

  • .env.example, sanity.cli.ts, and sanity.config.ts
  • sanity/: the Studio’s schema. sanity/seed/demo-content.json holds the sample content
  • scripts/sanity/: the scripts behind npm run setup, npm run dev:all, npm run import-seed, and the preview server
  • src/lib/sanity/, src/middleware.ts, and src/sanity-routes/

Sanity leaves out the folders src/content/ and src/i18n/, and menu.ar.json, menu.en.json, and menu.fr.json in src/config/. That content is in the Studio, and in the seed file until you connect a project.

Files You Will Edit Most Often

In the Astro and Tina editions:

  • src/config/config.toml: logo, title, contact info, multilingual, forms, header button, announcement bar, subscription
  • src/config/menu.<lang>.json: main menu, mega menu, footer menus
  • src/i18n/<lang>.json: shared labels for header, footer, buttons, and common text
  • src/content/sections/<language>/: reusable landing-page sections
  • src/content/homepage/<language>/: homepage-level metadata
  • src/pages/[...lang]/*.astro: page structure, layout selection, and which sections appear on each route

How Taxo Is Organized

Use this rule when customizing the theme:

  • src/pages/... decides which sections render
  • src/content/... provides editable content data
  • src/layouts/components/... controls HTML structure and styling

This structure helps you decide whether you should edit a page file, a content file, or a component.

Type something to search...