Themes and template preview

See the themes already in a site, create a blank one and preview layouts while you work.

Last updated

Themes lists installed themes. Template Preview renders a selected layout beside its source using a matching content page.

Installed themes

The Themes page lists every theme in your site’s themes/ folder. Removing one deletes themes/<name> from disk; nothing else in the site is touched.

New Blank Theme

New Blank Theme scaffolds a placeholder theme in themes/<name> – minimal layouts and styles to build on, not a finished design. It runs Hugo’s own hugo new theme underneath.

FieldWhat it does
Theme nameLetters, numbers and hyphens. Becomes the folder name under themes/.
Include placeholder contentOff strips the sample pages hugo new theme generates. layouts/, assets/ and archetypes/ are left as they are either way.
Set as active theme after creationWrites the new theme into your config, so the next build uses it.

Template Preview

Template Preview (⇧⌘T) is a split panel: your layout files on the left, the rendered page on the right.

Template Preview: the layout file tree on the left and the live rendered page on the right.

It needs the dev server running. The preview is your own site, served by Hugo – if the server is stopped, the panel says so and offers to start it.

What’s in the file tree

HugoKit scans two places and shows them as one tree:

  • your site’s own layouts/
  • the layouts/ folder of each theme in themes/

When the project and theme define the same layout, the project’s file takes precedence. Theme files are labelled with their theme name.

Templates are grouped by folder – _default, partials, shortcodes, _markup and the rest.

Preview with

Preview with shows the content page selected for the layout. Partials, shortcodes and baseof.html use the home page because they render only within another template.

The preview is live: save the file in your editor, and it reloads like any other page on the dev server.

Template Preview opens from the Dashboard, the Themes page, the View menu or ⇧⌘T from anywhere.

Latest release · 9 August 2026

HugoKit 0.4.0

Adds search, find and replace, an outline, backlinks and page resources to the editor, and shows what a publish will change before it happens.

  • 01 Find and replaceSearch the Content list, then find and replace inside the open Raw document.
  • 02 Page resourcesThe files in a page's bundle, with Quick Look and insert-a-reference.
  • 03 Review ChangesSee what publishing would add, change and delete on each target.