Snowlake Jekyll documentation

Update to 2.3 and 2.3.1

How to move a Snowlake Jekyll site from 2.2 to 2.3, and from 2.3.0 to 2.3.1: which files you can copy over and which to merge by hand.

What changed

2.3 moves every page section into its own include in _includes/sections/. In 2.2 each page wrote out the HTML for its sections, so a fix had to be made in many files. In 2.3 a page keeps its content in front matter, as before, and calls the include:

{% include sections/testimonials.html style="carousel" items=page.testimonials_area.testimonials %}

Your front matter keys (slider_area, services_area, pricing_table and the rest) keep their names. 2.3 also fixes a list of bugs; the CHANGELOG in the download lists them all. Section Includes lists every include with its styles and options.

Your 2.2 pages keep working

The includes are new files. A page that still has its sections written out in HTML builds and looks the same as before. You don’t have to convert anything.

Before you start

Back up your site folder, or commit it if you use Git.

Step 1: copy the files that are safe to replace

If you haven’t edited them, copy these folders from the 2.3 download over your own:

  • _includes/
  • _layouts/

If you did edit a file in one of them, keep your copy and compare it with the new one before replacing it.

This step alone brings the include and layout fixes: tag links, the info panel email, post tag lists, the post author box, empty headings in the clients section, alt text, and more.

Step 2: merge these by hand

You have probably edited these, so copy only the changes you want.

_config.yml

  • Add the defaults: block. New pages, posts, shop items and authors then get their usual layout even when the file doesn’t set layout:.
  • Add title: and description: near the top. The Atom feed (/index.xml) reads them. Use the same text as in _data/general_settings.yml.
title: "Your site title"
description: "One or two sentences about your site."

defaults:
  - scope: { path: "", type: pages }
    values: { layout: default }
  - scope: { path: "", type: posts }
    values: { layout: posts/post }
  - scope: { path: "", type: shop_items }
    values: { layout: product }
  - scope: { path: "", type: authors }
    values: { layout: author_page }

_data/navigation.yml

The “About 01” item now links to /about/ instead of /about/about. The old address still works: 2.3 turns about/about.html into a redirect.

Step 3: pages

These demo pages changed in 2.3: index.html, blank_page.html, home-pages/index.html, home pages 2 to 23, 25 and 31, all five about pages, the five services pages, contact/index.html, contact/contact-1.html, the faq, loading and scroll feature pages, 19 element pages, and 4 demo posts (link fixes only).

For each page you use:

  • You haven’t edited it: copy the 2.3 version over yours.
  • You have edited it: keep yours. It still works. When you want the fixes or the shorter file, swap one section at a time: find the section in your page, look up the matching include in Section Includes, and replace the HTML with the include line. Build and check the page after each swap.

home-pages/index.html and about/about.html were copies of index.html and about/index.html. In 2.3 they are small redirect pages. If you built your own page on one of them, keep your file.

Step 4: build and check

bundle install
bundle exec jekyll serve

Open the pages you changed and check them at desktop and phone width.

Update from 2.3.0 to 2.3.1

2.3.1 compares every page with the original HTML design and fixes what had drifted: menus, headers, band colours and spacing, the blog, post, portfolio and shop layouts, the contact forms and the footer. It also adds a few include options, listed under Added in 2.3.1. The CHANGELOG in the download lists every change.

Step 1: copy the files that are safe to replace

If you haven’t edited them, copy these from the 2.3.1 download over your own:

  • _includes/
  • _layouts/
  • assets/css/style.css
  • assets/js/scripts.js

If you did edit a file in one of them, keep your copy and compare it with the new one before replacing it. Most of the blog, post, portfolio and shop fixes are in _layouts/ and _includes/, so this step alone brings them to your own posts and projects.

Step 2: merge these by hand

_config.yml: month archives. The blog sidebar now has an Archive list that links to month pages such as /2025/01/. Add month in three places under jekyll-archives:

jekyll-archives:
  enabled:
    - tags
    - categories
    - month
  layouts:
    tag: tag
    category: category
    month: category
  permalinks:
    tag: '/tag/:name/'
    category: '/category/:name/'
    month: '/:year/:month/'

Without it, the Archive links lead to missing pages.

_data/general_settings.yml: description. In 2.3.1 this text is only the short line in footer 1 and the side panel. The SEO description comes from description in _config.yml. Keep your own text. If it is long, footer 1 grows taller than the design.

Step 3: pages

The demo pages changed in 2.3.1 are:

  • home pages;
  • the about, services, contact, blog, portfolio and shop pages;
  • some feature and element pages;
  • some demo posts and portfolio projects.

Use the same rule as for 2.3: copy the pages you haven’t edited, keep the ones you have. Your front matter keys are unchanged, so an edited page keeps working with the new layouts.

Two front matter values changed on the demo pages, in case you copied them:

  • shop/index.html shows 9 products per page (per_page: 9).
  • Masonry portfolio items have an optional order: number that sets their order on the masonry pages.
  • shop/index-2.html now has the page header and the new shop sidebar (shop_sidebar:, 8 products per page) instead of the product slider. The slider still works: set products_slider: enable: true on any shop page.

Step 4: build and check

Build as above. Then open a blog list, a post, a portfolio page and the shop at desktop and phone width.