Generally

_config.yml

404 Page

Anchors

Collection

  • “I mentioned the permalink structure for the _posts collection earlier and it’s perhaps worth talking about the opposite of a collection which is a page. If you are familiar with WordPress the analogy holds true for Jekyll. A collection file is normally date relevant whereas a page file is a stand-alone piece of content.” Keir Whitaker, Rebuilding keirwhitaker.com with Jekyll.

Comments

Excerpts

Footnotes

a.footnote:before {   
 content: "[";
}

a.footnote:after {
    content: "]";
}

gemfile

  • “A gem is a little bundle of code we can get included in our Ruby projects. The gemfile allows us to take someone else’s code and drop it straight into our own project. . . . Jekyll itself is a gem as well many Jekyll plugins including jekyll-paginate and jekyll-feed which get included in the base site.” Alan Reid, Jekyll File Structure, Sept. 25, 2018.
  • Bundler – “Bundler provides a consistent environment for Ruby projects by tracking and installing the exact gems and versions that are needed.”
    • “A quick side note on Bundler. Whilst I had used Bundler before it was something I needed to re-familiarise myself with. Essentially Bundler provides a consistent environment for Ruby (which Jekyll is written in) projects by tracking and installing the exact Gems and versions that are needed. It works hand in glove with the Gemfile located in the root of the project folder. Using Bundler effectively allows you to use different Gem versions for individual projects.” Keir Whitaker, Rebuilding keirwhitaker.com with Jekyll .

Images

Layout

Kramdown

Liquid

  • Control flow tags - “Control flow tags create conditions that decide whether blocks of Liquid code get executed.”

Markdown

  • Jekyll converts Markdown to HTML.
  • You must specify the Markdown filter (such as Kramdown) in the _config.yml file.
  • Files must have a Markdown extension (not txt) in order for Jekyll to convert them.
  • Files must have front matter in order for Jekyll to convert them.

Pagination

Permalinks

Read More

Reading Time

Sass

Table of Contents

Themes

YAML Front Matter

  • Keir Whitaker, Rebuilding keirwhitaker.com with Jekyll: “Many of the front matter variables are predefined and have particular reference to Jekyll. You can also create your own variables using non-reserved words. These are known as custom variables. You simply access these using the following syntax:
{{ page.customvariable }}