RSS Amplifier

Tim Hutton · Feb 2, 2019

yes is not an allowed title

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

Well that was an interesting couple of hours. I was trying to update Jekyll on this blog and kept getting an odd error: Liquid Exception: no implicit conversion of true into String in /_layouts/post.html jekyll 3.7.4 | Error: no implicit conversion of true into String I eventually tracked the error down to this old post from 2007 which has code like this: --- layout: post title: yes --- Words…

Well that was an interesting couple of hours. I was trying to update Jekyll on this blog and kept getting an odd error:

  Liquid Exception: no implicit conversion of true into String in /_layouts/post.html
jekyll 3.7.4 | Error:  no implicit conversion of true into String

I eventually tracked the error down to this old post from 2007 which has code like this:

---
layout: post
title: yes
---
Words here.

Can you spot what the problem might be? The title of the post is a single word ‘yes’. Somehow the title is getting evaluated as a boolean, which gives the value ‘true’ and then an error when it expects a string.

I have reported the bug to Jekyll: https://github.com/jekyll/jekyll/issues/7514

Read on /2019/02/02/yes_is_not_allowed.html

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.