Skip to content
This repository has been archived by the owner on Sep 10, 2020. It is now read-only.

fix: Upgrade to cobalt#346 #3

Open
wants to merge 5 commits into
base: source
Choose a base branch
from
Open

fix: Upgrade to cobalt#346 #3

wants to merge 5 commits into from

Conversation

epage
Copy link

@epage epage commented Jan 4, 2018

DO NOT MERGE THIS YET The PR is not yet merged or released. I'm posting PRs for all known cobalt blogs. After that, I'll try to give a feedback window before merging the PR and creating a release.

Feedback on cobalt-org/cobalt.rs#346 is welcome. In addition to this PR, you can peruse the updated documentation.

Commands run

  • cobalt migrate
  • Add an {% assign social_img = page.data.social_img %}
  • Fix footer's checks for comments / translations

Note: this includes mre/endler.dev#2

Cobalt's liquid has been changed to fail on missing variables.  This
could be made less strict in the future.

This means that every page reusing a layout needs the variables defined,
even if it is to `Nil`.

So added
- comments
- humandate
- social_img
- subtitle
- translations
- css
The version of liquid used has a logic bug with testing nil variables,
so making the check explicit so it builds correctly.  cobalt.rs#346
includes the fix for this.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant