Boris Mann

Open Source. Community. Decentralized Web. Building dev tools at Fission. Cooks & eats.



  • Last Edit: September 28, 2020

Set env variable PAGES_REPO_NWO to build on Netlify

Set the environment variable PAGES_REPO_NWO to a repo such as spadebuilders/EIPs if you want to have Jekyll sites build on Netlify.

Posts by Year

{% for post in site.posts %}
  {% capture current_year %}{{ | date: "%Y" }}{% endcapture %}
  {% if current_year != previous_year %}
    {% unless forloop.first %}
    {% endunless %}
    <h2>{{ current_year }}</h2>
    {% assign previous_year = current_year %}
  {% endif %}
  <li><a href="{{ post.url }}" class="internal-link">{{ post.title }}</a></li>

  {% if forloop.last %}
  {% endif %}
{% endfor %}

Reducing Jekyll Build Times

By Colin Garvey at Forestry

Using CommonMark GHPages Markdown Processor

Using GH-flavoured CommonMark instead of kramdown

In the Gemfile:

gem "jekyll-commonmark-ghpages"

In the _config.yml file:

markdown: CommonMarkGhPages

  options: ["SMART", "FOOTNOTES"]
  extensions: ["strikethrough", "autolink", "table"]

  - jekyll-commonmark-ghpages

Autolink is key – means you can just past addresses and they’ll be linked automatically.