A Bootstrap-based Jekyll theme.
To install jekyll-theme-bootstrap4:
-
Add the following lines to your Jekyll site's
Gemfile
file: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-paginate
plugin to your Jekyll site's_config.yml
file underplugins
:plugins: - jekyll-paginate
-
Add the
paginate
option to your Jekyll site's_config.yml
file and replace3
by the preferred maximum number of posts to display per page:paginate: 3
-
Add the following line to your Jekyll site's
_config.yml
file:theme: jekyll-theme-bootstrap4
-
Copy the
_plugins
directory from the theme's directory to your Jekyll site's directory. -
Copy the
category.html
andtag.html
files from the theme's_layouts
directory to your Jekyll site's_layouts
directory. -
Copy the
index.html
file from the theme's directory to your Jekyll site's directory. -
Optional: Add the following line to your Jekyll site's
_config.yml
file and replaceUA-XXXXX-Y
by your Analytics tracking ID:analytics: UA-XXXXX-Y
-
Optional: Add the following line to your Jekyll site's
_config.yml
file and replaceEXAMPLE
by 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.