Posts tagged with liquid
AutoPage for Tag liquid Page 1 of 1
This page is automagically created and paginated for each tag available in the posts on this site
Having just once again suffered through the dimly remembered pain
of learning about Jekyll, Liquid, and hash arrays, I am recording it
here to save myself the next time I go for a few years between
dealing with it. Official documentation does not say this
(enough?), I guess because they think, "They can't, so let's not
bother talking about it." This leaves the experienced programmer
new to Liquid going "I should be able to do this, why can't I
just assign myHash = { one: 1, two: 2 }
or
["one" => "1", "two" => "2"]
or some combination of
braces and quotes or other punctuation? Do I just have the syntax
wrong???"
Read more
Tags and filters are all plugins and I found I could just include my new tag in the exact same file in which I implemented my filter.
Read more
My site has many snippets of different languages, and I wanted to tag them for CSS purposes among other possible useful things marking them might make possible. One problem with that is I am still searching out the "correct" labelling, so using mutable tags would be easier to remember as well as change later....
Read more
Getting Jekyll running was a little bit of a kerfuffle since I needed to update Ruby, but then Jekyll couldn't find the right version. Eventually this was resolved and I got Jekyll's out of the box test site up and running. The fact that Jekyll has a test server that runs on your development machine is very convenient, even if it doesn't run server side includes and the like.
Read more
Officially, filters and tags are plugins so they go into the jekyll-root/_plugins
directory. Once again, no _config.yml
modifications necessary (in the version of Jekyll (3.7.3) that I was using) to enable things.
Read more