Toggle navigation
Jekyll for Designers 2.1
About
Github repo
My blog
Feedback
Jekyll resources
Guide for designers
Overview
Getting started
Setting up the configuration files
Supported features
Troubleshooting
Content types
Pages and posts
Collections
Formatting
Alerts
Images
Links
Syntax highlighting
Videos
Labels
Icons
Tables
Tooltips
Navtabs
Shortcuts for Jekyll syntax
Single Sourcing
Conditional logic
Content re-use
Excluding files
Publishing
Build arguments
Create a PDF
Creating a help API
Setting up iTerm profiles
Common Git commands
Special Layouts
Special layouts
Creating a series
FAQ layout
KB layout
Scroll
Shuffle
Tag archives
Overview
Single-Sourcing Pages
The following pages are tagged with
single-sourcing
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...
Please enable JavaScript to view the
comments powered by Disqus.