jekyll-theme-bootstrap5¶ ↑
A Bootstrap-based Jekyll
theme.
Installation¶ ↑
To install jekyll-theme-bootstrap5:
-
Add the
jekyll-paginate
andjekyll-theme-bootstrap5
gems to yourJekyll
site'sGemfile
file:gem 'jekyll-paginate' gem 'jekyll-theme-bootstrap5'
-
On a command prompt or terminal with your
Jekyll
site's directory as the current working directory, run the following command:bundle install
Usage¶ ↑
To use jekyll-theme-bootstrap5:
-
Add the
jekyll-paginate
plugin to yourJekyll
site's_config.yml
file underplugins
:plugins: - jekyll-paginate
-
Add the
paginate
option to yourJekyll
site's_config.yml
file and replace3
by the preferred maximum number of posts to display per page:paginate: 3
-
Add the
theme
option to yourJekyll
site's_config.yml
file:theme: jekyll-theme-bootstrap5
-
Copy the
_plugins
directory from the theme's directory to yourJekyll
site's directory. -
Copy the
category.html
andtag.html
files from the theme's_layouts
directory to yourJekyll
site's_layouts
directory. -
Copy the
index.html
file from the theme's directory to yourJekyll
site's directory. -
Optional: Add the
analytics
option to yourJekyll
site's_config.yml
file and replaceUA-XXXXX-Y
by your Analytics tracking ID:analytics: UA-XXXXX-Y
-
Optional: Add the
disqus_shortname
option to yourJekyll
site's_config.yml
file and replaceEXAMPLE
by your Disqus shortname:disqus_shortname: EXAMPLE
See [config.yml](config.yml) for an example configuration file.
Contributing¶ ↑
See CONTRIBUTING.md.
License¶ ↑
Licensed under the MIT License. See LICENSE for license text and copyright information.