Skip to content
Type something to search...
Taxo Theme Documentation

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

Switch The Shell Of A Homepage

<Base
{...page?.data}
headerLayout="header-1"
footerLayout="footer-2">
  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