The following pages are tagged with
Page | Excerpt |
---|---|
Build arguments | How to build Jekyll sites The normal way to build the Jekyll site is through the build command: jekyll build To build the site and view it in a live server, use the serve command: jekyll serve By default, the _config.yml... |
Conditional logic | If you want to create different outputs for different audiences, you can do all of this using a combination of Jekyll's Liquid markup and values in your configuration file. Tip: Definitely check out [Liquid's documentation](http://docs.shopify.com/themes/liquid-documentation/basics) for more details about how to use operators... |
Content reuse | You can embed content from one file inside another using includes. Put the file containing content you want to reuse (e.g., mypage.html) inside the _includes folder, and then use a tag like this: {% include mypage.html %}... |
Excluding files and folders | By default, all files in your project are included in your output. To exclude files, note them in the exclude section in the configuration file. Here's a sample: exclude: - "Gemfile" - "Gemfile.lock" - drafts - _site/documentation-theme-jekyll - bower_components If you have different outputs for... |