Pages are content files in the content/ directory of your Thulite project.

In Hugo (and therefore Thulite), each content file becomes a page. The file path and filename determine the URL, while layouts determine how that page is rendered.

How pages map to URLs

Some common patterns:

  • content/about.md -> /about/
  • content/docs/getting-started.md -> /docs/getting-started/
  • content/docs/_index.md -> /docs/ (the section page)
  • content/_index.md -> / (the home page)

Create new content

Use the create command to scaffold content from your archetypes.

Paths are relative to the content/ directory.

Examples

Create a regular page:

Create a page using a leaf bundle:

Create a section (or home page) using a branch bundle:

To create the home page itself, use _index.md at the content root:

Learn more

Thulite leverages Hugo’s content management. Start with these topics:

Hugo
Content organization

Organize your content in a manner that reflects the rendered website.

Hugo
Page bundles

Use page bundles to logically associate one or more resources with content.

Hugo
Content formats

Create your content using multiple content formats.

Hugo
Front matter

Use front matter to add metadata to your content.