What Is the Homepage?
The homepage is defined in src/index.md. It uses layout: starter.lax, a template specifically designed for the Luax Pro marketing landing page. Every section on the homepage — hero, problem statement, features, demo preview, pricing, testimonials, FAQ, and CTA — is controlled by frontmatter fields.
Via Decap CMS
1. Open http://localhost:8080/admin/
2. Click Site Settings in the left sidebar
3. Click Index
4. You will see a form with collapsible sections. Click any section to expand it:
Hero — The first section visitors see. Edit the kicker text, headline, description, and two CTA buttons.
Problem Section — The "why developers switch" block. Edit the heading and the three pain point cards.
Features Section — Three feature cards with images. Edit each card's icon, title, description, image path, and alt text.
Demo Section — The live demo preview block. Edit the heading, highlight list, and preview image.
Pricing Section — Three pricing tiers (Free, Luax Pro, Custom). Edit each tier's name, price, period, description, features list, and CTA button.
Testimonials Section — Three developer testimonials. Edit each quote, name, role, and monogram.
FAQ Section — Four FAQ items. Edit each question and answer.
CTA Section — The final call-to-action band. Edit the heading, description, and two buttons.
5. Click Publish when done
Via Code
Open src/index.md in your text editor. Here is a minimal example showing the structure:
layout: starter.lax
title: Luax Pro - Pure Lua Static Site Generator
description: Premium Lua static site generator with Decap CMS.
hero:
kicker: Pure Lua Static Site Generator
title: Ship Blazing Fast Sites Without the JavaScript Tax
description: Luax Pro compiles thousands of markdown files in milliseconds.
primary_cta:
text: Buy on Gumroad - $145
url: https://creativitaz.gumroad.com/l/luaxpro
secondary_cta:
text: View Live Demo
url: /home/
trust_badges:
- 12ms average build
- Zero dependencies
- Decap CMS included
pricing_section:
tiers:
- name: Free Engine
price: $0
period: Forever free
description: Open source Luax engine with basic templates.
features:
- Pure Lua static site generator
- LAX template engine
cta_text: Get Free Engine
cta_url: https://luax.axcora.com
- name: Luax Pro
price: $145
period: One-time payment
description: Premium theme with Decap CMS and full demo site.
features:
- Complete premium theme
- Decap CMS admin panel
cta_text: Buy on Gumroad
cta_url: https://creativitaz.gumroad.com/l/luaxpro
- name: Custom Web App
price: From $500
period: Custom quote
description: Fully custom website or web app.
features:
- Custom design
- API integration
cta_text: Order on Fiverr
cta_url: https://www.fiverr.com/creativitas/create-your-custom-website-and-app
How Frontmatter Becomes HTML
The starter.lax template reads each frontmatter key and renders it. For example:
@ hero.titlebecomes theh1content@ for hero.trust_badgesloops through the badge array@ for pricing_section.tiersloops through pricing cards
If you add a new field to the frontmatter but the template does not reference it, it will not appear on the page. To add new sections, you need to edit templates/layouts/starter.lax.
Common Mistakes
Missing quotes around special characters. If your title contains a colon (:), wrap it in quotes: title: "Luax Pro: The Fastest SSG". Otherwise YAML will parse it as a key-value pair.
Incorrect indentation. YAML uses spaces, not tabs. Each level of nesting adds two spaces. A single misaligned space will break the entire file.
Forgetting the --- delimiters. Frontmatter must start and end with ---. Do not remove these lines.
Next Step
Homepage is updated. The next guide covers editing your FAQ page.