mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2025-01-27 02:19:11 +01:00
Alan Orth
6ccdf9a438
layouts: Allow specifying number of "Recent Posts" to display in the sidebar
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.
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.
Description
Languages
HTML
86%
SCSS
11.5%
JavaScript
2.5%