Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


A hugo port of HTML5UP's responsive and minimal dimension theme. With native support for Netlify's headless CMS.


How to start

You can download the theme manually by going to and pasting it to themes/dimension in your root directory.

You can also clone it directly to your Hugo folder:

$ git clone themes/dimension

If you don't want to make any radical changes, it's the best option, because you can get new updates when they are available. You can also include it as a git submodule:

$ git submodule add themes/dimension

How to configure

The theme doesn't require any advanced configuration. Just copy:

baseURL = ""
languageCode = "en-us"
title = "My New Hugo Site"
theme = "dimension"

to config.toml file in your Hugo root directory and change params fields.

NOTE: All the main page styling and configuration can be done by creating pages in the content folder and subdirectories. This choice was made to allow the use of any headless CMS (e.g. netlify) for total customization.

Post archetype

See the basic file params supported by the theme —

title: Your Name
description: A great human
background: "<path or link to image>"
logo: "<path or link to image>"

background and logo Params

As indicated above, background and logo can be an image of your choice by placing JPGs, PNGs, SVGs, etc. in the static directory of your repository. If the static directory does not yet exist, create it.

Given the following repo structure:

  ├── config.toml
  ├── content
  │   ├── posts
  │   │   └──
  │   ├──
  │   └──
  ├── static
  │   └── images
  │       ├── custom_bg.jpg  
  │       └── custom_logo.svg
  └── archetypes

static/images/custom_bg.jpg can be referenced in content/ as:

  title: Your Name
  description: A great human
  background: "images/custom_bg.jpg"
  logo: "images/custom_logo.svg"

...or in content/posts/ as:

  title: Posts
  description: A great human's posts
  background: "../images/custom_bg.jpg"
  logo: "../images/custom_logo.svg"

Both fields may also be a URL to an online asset, such as:

  title: Posts
  description: A great human's posts
  logo: ""

How to run your site

From your Hugo root directory run:

$ hugo server -t dimension

and go to localhost:1313 in your browser. From now on all the changes you make will go live, so you don't need to refresh your browser every single time.

How to contribute

If you spot any bugs, please use Issue Tracker or if you want to add a new feature directly please create a new Pull Request.


If you like my work and want to support the development of the project, now you can! Just:

Buy Me A Coffee


Copyright © 2020 Davide Asnaghi

The theme is released under the CC BY 3.0 License. Check the original theme license for additional licensing information.


A CMS friendly hugo port of HTML5UP's dimension theme







No releases published


No packages published