+[2017-05-14T22:22:03Z]osfameronotherwise if you need the flexibility, something like https://gist.github.com/Phlow/b31f3a8d292aa63081c6 +[2017-05-14T22:22:04Z]jekyllrbTitle: Counter: This code snippet just counts your jekyll posts and spits out the result · GitHub (at gist.github.com) +[2017-05-14T22:22:08Z]batteuri want to number <figure> +[2017-05-14T22:22:25Z]batteurand have this figure code in a include +[2017-05-14T22:23:09Z]batteurperhaps it's better to do this with css, but then i can't reference the figures with numbers in the text
just tested it. In fact, kramdown will complain that you can't map those values.
+[2017-05-15T13:10:35Z]yurbStupid question, but what is the logical not operator in liquid? +[2017-05-15T13:10:55Z]yurb(i.e. testing for absence/false value of a variable) +[2017-05-15T13:32:12Z]captn3m0yurb: no logical not operator. +[2017-05-15T13:32:21Z]captn3m0yurb: take a look at https://github.com/Shopify/liquid/issues/138 for alternatives +[2017-05-15T13:32:24Z]jekyllrbTitle: How to express logic "and","or", "not"? · Issue #138 · Shopify/liquid · GitHub (at github.com)