A simple but opinionated Hugo theme geared towards blog-style content. Based on the older two-column Bootstrap blog example that was used for several Bootstrap versions, but has now been retired in favor of a "snarky" (their words) new example as of version 4.0.0's final release.
See picturingjordan.com for an example of this theme in use.
<head>code in site's
<img>srcsets for images in page bundles using a new figure shortcode (falls back to default Hugo behavior of looking up images in the static directory)
Clone the repository to your site's
themes directory. Refer to
exampleSite/config.toml for recommended configuration values.
A few suggestions to help you get a good looking site quickly:
content/postsdirectory, for example:
contentdirectory, for example:
staticdirectory, for example:
<!--more-->tag in posts to control how much of a post is shown on summary pages
comments = falsein its frontmatter
sharingicons = false
enableGitInfo = trueto your site config and Hugo will use git history to set a more accurate modification date in page metadata
See the source code and structure of picturingjordan.com to get more ideas.
This theme uses the Bootstrap framework. A static version of this is already included, but if you want to bump the version, tweak the style, etc, you'll need to rebuild the assets. Make sure you have NodeJS >= v10 installed, and then run the following from inside the theme's directory:
$ npm install $ npm run build
There are several ways to help with the development of the theme:
update-bootstrap, and then send a pull request with your changes