Bootstrap Sass Jekyll Template for Github pages
Jekyll Bootstrap template for Github pages (Official Sass version). No plugins needed! It also utilizes many best practices from minima
theme, checkout the demo.
Note: There are a few known configuration issues due to Jekyll sass-converter and bootstrap sass requirements. The results work fine , at least for most Bootstrap features, but it’s worth understanding Configuration & Usage in the TWBS README.
Setup
- Download or clone a copy of this repository into a local folder
- Open your local copy of the project folder
- Setup Bundler & Jekyll
- Use bundler to configure your system for the project
- Open your favorite text editor
- Run the Jekyll server
- Browse to http://localhost:4000
Example
git clone https://github.com/mdrmike/jekyll-theme-gh-bootstrap.git
cd jekyll-theme-gh-bootstrap
gem install jekyll bundler
bundle install
atom .
bundle exec jekyll serve
How to Customize
-
Gemfile
is used bybundler
package manger to setup local environment. -
_config.yml
is used by to setup jekyll and plugins (or override default)site.
variables, and define defaults. The syntax is standard YAML. -
_data
folder can be used for menus, social plugins, and other “data” elements. - To customize the style, look in
assets
.style.scss
has info about how Jekyll uses sass. Changes should be done inassets/_sass/theme.scss
ortheme/_custom.scss
andtheme/_theme_variables.scss
- Jekyll is made up of two defaults content types.
pages
are for static content.posts
are for periodic content, like a blog.collections
can be defined to add new content types, and can make use of_data
. All can take advantage oftags
&categories
. - Customize static pages such as
index.md
,about.md
then add/delete files in_posts
Bugs and Issues
Find a bug or have a suggestion? Open a new issue on GitHub.
Posts
subscribe via RSS