A simple but opinionated Hugo theme geared towards blog-style content.
See heaton.dev for an example of this theme in use.
- Responsive design
- Excellent structured data (JSON-LD), OpenGraph, and Twitter Card metadata support
- robots.txt linking to XML sitemap (disabled by default, see Hugo docs)
- Supports Disqus comments, see Hugo docs
- Can show a cookie consent banner
Clone the repository to your site's themes
directory.
A few suggestions to help you get a good looking site quickly:
- Keep blog posts in the
content/posts
directory, for example:content/posts/my-first-post/index.md
- Keep static pages in the
content
directory, for example:content/pages/about.md
- Keep media like images nested in an
images
subdirectory, for example:content/posts/my-first-post/images/screenshot.png
- Use the
<!--more-->
tag in posts to control how much of a post is shown on summary pages - Disable social sharing icons site wide (or on individual pages/posts) by setting
sharingicons = false
- If your content is stored in git, add
enableGitInfo = true
to your site config and Hugo will use git history to set a more accurate modification date in page metadata
Code covered by Creative Commons Attribution 3.0 Unported (LICENSE.txt), original author Alan Orth, modified & extended by Joe Heaton.