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

Homepage Variants

Taxo includes two ready-made homepage layouts.

Home 1

  • Page file: src/pages/[...lang]/index.astro
  • Content entry: src/content/homepage/<language>/-index.md
  • Header: header-1
  • Footer: default footer-1

Home 1 renders these sections in order:

  1. HeroSection
  2. FeaturesGrid
  3. ServicesSection
  4. StatsSection
  5. AboutSection
  6. CTAVideoSection
  7. TestimonialSection
  8. CaseStudiesSection
  9. FaqSection
  10. TeamSection
  11. BlogSection
  12. CTASection

Home 2

  • Page file: src/pages/[...lang]/home-two.astro
  • Content entry: src/content/homepage/<language>/home-two.md
  • Header: default header-2
  • Footer: footer-2

Home 2 renders these sections in order:

  1. HeroSectionTwo
  2. FeaturesGridTwo
  3. AboutSectionTwo
  4. StatsMarqueeSection
  5. ServicesSectionTwo
  6. TestimonialSectionTwo
  7. ProcessSection
  8. ContactSection
  9. CaseStudiesSectionTwo
  10. BrandLogos
  11. CTAVideoSectionTwo
  12. AboutMetricsSection
  13. CTABarSection
  14. BlogSectionTwo
  15. CTAGallerySection
  16. SocialBarSection

Where Homepage Content Lives

The files in src/content/homepage/ mostly hold page-level metadata like titles and descriptions.

The visible homepage content usually comes from shared section files such as:

  • src/content/sections/english/hero-section.md
  • src/content/sections/english/services-section.md
  • src/content/sections/english/cta-section.md

In the Tina edition, these are Home pages and Section defaults at /admin/. A homepage’s form also has a block for each section, which changes it on that page only. In the Sanity edition, they are Homepages (Home 1 and Home 2) and Sections in the Studio.

Switch The Shell Of A Homepage

<Base
{...page?.data}
headerLayout="header-1"
footerLayout="footer-2">

In the Tina edition, use the Header layout and Footer layout fields in the page’s form. In the Sanity edition, this stays in the page file.

  1. Open the page file in src/pages/[...lang]/
  2. Note which sections it imports
  3. Edit the matching src/content/sections/<language>/... files first
  4. Only edit the Astro component if you need structural or design changes
Type something to search...