A Bootstrap-based Jekyll theme.
To install jekyll-theme-bootstrap4:
-
Add the following lines to your Jekyll site's
Gemfilefile:gem 'jekyll-paginate' gem 'jekyll-theme-bootstrap4' -
On a command prompt or terminal with your Jekyll site's directory as the current working directory, run the following command:
$ bundle install
To use jekyll-theme-bootstrap4:
-
Add the
jekyll-paginateplugin to your Jekyll site's_config.ymlfile underplugins:plugins: - jekyll-paginate -
Add the
paginateoption to your Jekyll site's_config.ymlfile and replace3by the preferred maximum number of posts to display per page:paginate: 3 -
Add the following line to your Jekyll site's
_config.ymlfile:theme: jekyll-theme-bootstrap4 -
Copy the
_pluginsdirectory from the theme's directory to your Jekyll site's directory. -
Copy the
category.htmlandtag.htmlfiles from the theme's_layoutsdirectory to your Jekyll site's_layoutsdirectory. -
Copy the
index.htmlfile from the theme's directory to your Jekyll site's directory. -
Optional: Add the following line to your Jekyll site's
_config.ymlfile and replaceUA-XXXXX-Yby your Analytics tracking ID:analytics: UA-XXXXX-Y -
Optional: Add the following line to your Jekyll site's
_config.ymlfile and replaceEXAMPLEby your Disqus shortname:disqus_shortname: EXAMPLE
See _config.yml for an example configuration file.
See CONTRIBUTING.md.
Licensed under the MIT License. See LICENSE for license text and copyright information.