mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-11-24 13:10:18 +01:00
A blogging-centric Bootstrap v4 theme for the Hugo static site generator.
Alan Orth
6ccdf9a438
Set the following param in your config: [params.sidebar] num_recent_posts = 5 Alternatively, delete or comment out the variable to disable showing of recents. I should probably allow setting it to "0" to disable. |
||
---|---|---|
archetypes | ||
layouts | ||
source/scss | ||
static/css | ||
.gitignore | ||
LICENSE.txt | ||
package.json | ||
README.md | ||
screenshot@2x.png | ||
theme.toml |
Hugo Bootstrap v4
A simple Hugo theme based on the Bootstrap v4 blog example. Still a work in progress.
Usage
Clone the repository to your site's themes
directory.
Building (For Developers)
This theme uses the Bootstrap and jQuery frameworks. Static versions of these are already included, but if you want to bump the versions, tweak the style, etc, you'll need to rebuild the assets. Make sure you have NodeJS v4 or v6 installed, and then run the following from inside the theme's directory:
$ npm install
$ npm run build
License
This repository contains the code of Bootstrap and jQuery, both of which are licensed under the MIT license.
Otherwise, the contents are GPLv3.