Back to Blog

Introducing Content Mode

A New Way to Build Content Sites

We're excited to announce Content Mode — a major new capability in Hammer for Mac that lets you generate entire sections of your site from structured content files.

If you've ever built a blog, documentation site, or portfolio, you know the pain of duplicating HTML across dozens of pages. Content Mode eliminates that entirely. Write your content in Markdown, define a template once, and Hammer generates every page for you at build time.

How It Works

The setup is straightforward:

  1. Define a collection in content.config.json — specify your fields, template, and output paths
  2. Write content in Markdown files with YAML front matter
  3. Build your template using Hammer's expression syntax to place dynamic content
  4. Hit Build — Hammer generates a page for every content file

Built for Real Workflows

Content Mode isn't a bolt-on feature. It's deeply integrated with everything you already know in Hammer:

  • Templates use all standard Hammer tags — includes, variables, clever paths
  • Content files support relations between collections
  • Helper functions for date formatting, slugification, and more
  • Incremental builds keep things fast as your content grows

Content Mode is perfect for blogs, documentation, portfolios, product catalogs, team directories — anything with repeating structure.

Get Started

Content Mode is available now in Hammer for Mac. Check out the full documentation to start building your first content collection.