Alan Orth
f813659623
All checks were successful
continuous-integration/drone/push Build is passing
The site title in the header should be a link to home. |
||
---|---|---|
assets/css | ||
build | ||
layouts | ||
source/scss | ||
static/fonts | ||
.drone.yml | ||
.gitignore | ||
CHANGELOG.md | ||
LICENSE.txt | ||
package-lock.json | ||
package.json | ||
README.md | ||
theme.toml | ||
TODO |
Hugo Bootstrap v5 Blog
A simple but opinionated Hugo theme geared towards blog-style content. Based on the "snarky" (their words) Bootstrap v5 blog example that originally debuted in Bootstrap 4's final release.
Features
- Responsive design
- Supports automatic generation of
<img>
srcsets for images in page bundles using a [new figure shortcode]https://cpbotha.net/2020/05/02/drop-in-replacement-for-hugo-figure-shortcode-with-responsive-img-srcset/) (falls back to default Hugo behavior of looking up images in the static directory)
Building (For Developers)
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 dist
License
This repository contains SASS and HTML code from the Bootstrap project, which is licensed under the MIT and CC BY 3.0 licenses, and the Playfair Display font, which is licensed under the SIL Open Font License, 1.1.