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

Homepages

Files: src/pages/[...lang]/, src/content/homepage/english/ · Skill level: Beginner to edit, light code to reorder

Consultiz has three homepages, each in a multi-page and a one-page version:

HomepageURLRoute file (src/pages/[...lang]/)Content file
Business consulting (main)/index.astrosrc/content/homepage/english/-index.md
Corporate consulting/corporate-consulting/corporate-consulting.astrosrc/content/homepage/english/corporate-consulting.md
Tax and accounting/tax-accounting/tax-accounting.astrosrc/content/homepage/english/tax-accounting.md
One-page versions/landing/home/, /landing/corporate-consulting/, /landing/tax-accounting/landing/*.astroThe same files as above

Business Consulting Homepage (Main)

Sections, top to bottom, with the block name that overrides each one in src/content/homepage/english/-index.md:

SectionDefault content (src/content/sections/english/)Page block
Banner sliderbanner-slider.mdcorporateBanner
Aboutabout-centered.mdcorporateAbout
Client logospartner-marquee.mdcustomersSection
Servicesservices-centered.mdcorporateServices
Industriesindustries-stepper.mdcorporateIndustries
Growth bannergrowth-banner-full-width.mdcorporateGrowthBanner
Why choose uswhy-choose-section.mdcorporateWhyChoose
Company growth statisticsgrowth-stats-section.mdcorporateCompanyGrowth
Video testimonialstestimonial-video-showcase.mdcorporateTestimonial
Latest articlesblog-grid-centered.mdcorporateBlog
Contact formcontact-image-form.mdcorporateContact
FAQfaq-centered.mdcorporateFaq
Awards stripfooter-awards.mdfooterAwardSection

It uses a transparent header over the banner and the homepage footer (footer-newsletter-grid.md). Its own fonts come from the --font-reference-* entries in src/config/fonts.json.

Corporate Consulting Homepage

Sections, with their block names in src/content/homepage/english/corporate-consulting.md:

SectionDefault contentPage block
Tabbed bannerbanner-tabbed-slider.mdbannerSection
Business challengesbusiness-challenges-section.mdbusinessChallengesSection
Client logospartner-marquee.mdcustomersSection
Growth banner cardgrowth-banner-card.mdgrowthBannerSection
Growth challengegrowth-challenge.mdgrowthChallengeSection
Business valuebusiness-value.mdbusinessValueSection
Industries coverindustries-cover.mdindustriesCoverSection
Client feedbackfeedback-section.mdfeedbackSection
Tax estimateestimate-tax.mdestimateTaxSection
Latest articlesblog-grid-centered.mdlatestArticlesSection
Newsletternewsletter.mdnewsletterSection
Awards stripfooter-awards.mdfooterAwardSection

It uses the “office” footer and the slim “info” top bar. The page file sets the number of articles with latestArticlesSection.options.limit (3).

Tax And Accounting Homepage

This homepage reads page-specific blocks from src/content/homepage/english/tax-accounting.md. Edit the text there directly:

SectionBlock in homepage/english/tax-accounting.md
Header (announcement strip, phone, contact button)serviceHeader
Hero with video and consultation formserviceHero
StatisticsserviceStats
Problems you solveserviceProblems
Client logos (grid)servicePartners (merges with partner-marquee.md)
StatementserviceStatement
What you deliverserviceDeliver
IndustriesserviceIndustries
Quote bannerserviceQuote
ComplianceserviceCompliance
ProcessserviceProcess
Tax calculatorserviceTaxCalculator
TestimonialsserviceTestimonials
ArticlesserviceArticles
Contact and newsletter stripserviceContactStrip
Awards stripfooterAwardSection

The tax calculator’s income years are content too: serviceTaxCalculator.incomeYears lists them, newest first. Update the list each tax year; if you remove it, the calculator falls back to built-in years.

serviceTaxCalculator:
incomeYears: ["2025–2026", "2024–2025", "2023–2024", "2022–2023"] # newest first

The hero form and the newsletter strip have their own form settings: see Forms. serviceArticles.items takes enable, url, categoryUrl, and authorInitials per card, and serviceArticles.options.limit caps the list.

The One-Page Versions

The pages under /landing/ show the same sections and read the same content files as their multi-page homepage. The differences:

  • The header menu has no dropdowns, and only the Contact link stays active.
  • Their canonical link points to the multi-page version, so search engines treat them as copies.

If you don’t need them, delete src/pages/[...lang]/landing/ and remove the One Page group from the Home menu in menu.en.json and menu.fr.json.

Edit A Homepage

  • Change text on every page that uses a section: edit the section file in src/content/sections/english/.
  • Change text on one homepage only: add or edit its block in the homepage’s content file, with only the keys you want to change. See How Consultiz Works for the merge rules.
  • Hide a section on one homepage: set enable: false in its block.
  • Reorder or remove sections: move or delete the component lines inside <Base> in the route file.

Use Another Homepage As Your Main Homepage

  1. Open the route of the homepage you want, for example src/pages/[...lang]/corporate-consulting.astro, and copy the whole file.

  2. Paste it over src/pages/[...lang]/index.astro. The route keeps reading its own content file (homepage/<language>/corporate-consulting.md, or homepage/<language>/tax-accounting.md for tax and accounting), so no content needs to move.

  3. Delete the route you copied from, and the landing/ routes you no longer need.

  4. Update the Home menu in src/config/menu.en.json and menu.fr.json.

  5. Run npm run astro-check and open / to check the result.

Type something to search...