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
-
Gemfileis used bybundlerpackage manger to setup local environment. -
_config.ymlis used by to setup jekyll and plugins (or override default)site.variables, and define defaults. The syntax is standard YAML. -
_datafolder can be used for menus, social plugins, and other “data” elements. - To customize the style, look in
assets.style.scsshas info about how Jekyll uses sass. Changes should be done inassets/_sass/theme.scssortheme/_custom.scssandtheme/_theme_variables.scss - Jekyll is made up of two defaults content types.
pagesare for static content.postsare for periodic content, like a blog.collectionscan 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.mdthen 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