+[2016-04-28T20:59:35Z]eightfold<li><a href="/works/{{ gallery.id }}"{% if page.url | remove: "/works/" | remove: "/index.html" == "{{ gallery.id }}" %} class="current"{% endif %}>{{ gallery.description }}</a></li> +[2016-04-28T21:00:06Z]eightfoldi’m going crazy about jekyll not acting as i think it should +[2016-04-28T21:00:50Z]eightfoldi know its hard to read without any context, but i’m trying to add a “current” class to the currently open page +[2016-04-28T21:01:42Z]eightfoldoutput of {{ gallery.id }} is the same as output for {{ page.url | remove: "/works/" | remove: "/index.html" }} +[2016-04-28T21:02:26Z]eightfoldand it should generate the class only for the <li>’s where the gallery.id is the same, but it generates it for all <li>'s
Title: Untitled - ##Linux on Freenode (at paste.linux.chat)
+[2016-04-29T02:14:44Z]jaybe./later tell eightfold re: "current class" w/liquid, etc. refer to the factoid: ./whatis jekyllrb.com - this example from jekyllrb.com should help and show you how/the way +[2016-04-29T02:14:45Z]jekyllrbThe operation succeeded. +[2016-04-29T22:20:09Z]njumdl2014jekyll is great to host my blog on github. +[2016-04-30T00:11:09Z]miklbIf I want to use `permalink: title` and in my Front Matter if title isn't a string, I'm not getting a permalink. Am I missing something? +[2016-04-30T02:22:02Z]miklbThink I miss understood where title was derived from, but if I make title a string in front matter, it does render a URL, otherwise I get `/title`. Likewise, if I set `permalink: slug` I get `/slug` for a URL even with `slug; example-post-title` in front matter. :/