jekyll-theme-semantic2¶ ↑
A Semantic UI -based Jekyll
theme.
Installation¶ ↑
To install jekyll-theme-semantic2:
-
Add the following lines to your
Jekyll
site'sGemfile
file:gem 'jekyll-paginate' gem 'jekyll-theme-semantic2'
-
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-semantic2:
-
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 following line to your
Jekyll
site's_config.yml
file:theme: jekyll-theme-semantic2
-
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 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](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.