1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-11-14 00:07:03 +01:00
hugo-theme-bootstrap4-blog/README.md

42 lines
2.2 KiB
Markdown
Raw Normal View History

2016-09-18 11:25:19 +02:00
# Hugo Bootstrap v4 Blog
2016-09-18 16:09:53 +02:00
A simple [Hugo](https://gohugo.io) theme based on the [Bootstrap v4 blog example](http://v4-alpha.getbootstrap.com/examples/blog). Geared towards simple blogging. Still a work in progress.
2016-08-28 18:31:31 +02:00
![Screenshot](/screenshot@2x.png?raw=true "Screenshot")
See [my blog](https://picturingjordan.com) for an example of this theme in use.
2016-09-18 13:04:04 +02:00
## Features
- Uses Bootstrap v4's [native system fonts](http://v4-alpha.getbootstrap.com/content/reboot/#native-font-stack) to load quickly and look good on all platforms
2016-09-18 13:04:04 +02:00
- Basic [OpenGraph](http://ogp.me) and [Twitter Card](https://dev.twitter.com/cards/types) metadata support
2016-09-21 21:47:02 +02:00
- robots.txt linking to XML sitemap (disabled by default, see [Hugo docs](https://gohugo.io/extras/robots-txt/))
- Displays categories and tags from front matter
2016-09-18 13:04:04 +02:00
## Usage
Clone the repository to your site's `themes` directory. Refer to `exampleSite/config.toml` for optional configuration values.
## Building (For Developers)
This theme uses the [Bootstrap](https://getbootstrap.com/) 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 v4 or v6 installed, and then run the following from inside the theme's directory:
```
$ npm install
$ npm run build
```
2016-09-13 15:55:55 +02:00
## TODO
2016-09-28 14:11:46 +02:00
- add pagination! ([#3](https://github.com/alanorth/hugo-theme-bootstrap4-blog/issues/3))
2016-09-13 15:55:55 +02:00
- add optional social links to sidebar
- add configurable license notice for footer
2016-09-13 15:59:21 +02:00
- add favicon
- add author page (for when you click author name in a post/summary) [#2](https://github.com/alanorth/hugo-theme-bootstrap4-blog/issues/2)
2016-09-14 13:39:41 +02:00
- add images to sitemap? https://gohugo.io/templates/sitemap/
2016-09-26 16:37:59 +02:00
- add Bing and Yandex verification support
- add support for Disqus (I don't use it!)
- add support for Google Analytics (I don't use it!)
2016-09-13 15:55:55 +02:00
## License
This repository contains the code of [Bootstrap](http://getbootstrap.com), which is licensed under the [MIT license](https://tldrlegal.com/license/mit-license), and [Font Awesome](http://fontawesome.io/), which uses [various licenses](http://fontawesome.io/license/).
2016-08-28 15:27:54 +02:00
Otherwise, the contents are [GPLv3](https://www.gnu.org/licenses/gpl-3.0.txt).