Alan Orth
f28cf4615c
For now it gets the first three posts with "featured: true" in their frontmatter and displays them in a random order (so no control over the placement of large feature or two smaller features). TODO: gracefully handle the case where there are no pages with the "featured: true" frontmatter so new users don't see a super weird and broken front page. |
||
---|---|---|
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.