+ [11 years ago] simon_weber I've got a hacky working solution that I can show you later =)
+ [11 years ago] simon_weber pontiki: here's an example of what I ended up doing: https://github.com/simon-weber/the-listserve-archive/blob/gh-pages/2012/04/18.json
+ [11 years ago] simon_weber if it were possible to index into the hash, I could just hardcode the date/key and then push the rest into a layout
+ [11 years ago] simon_weber this isn't a huge deal with these json files, but I'm going to need to do something similar in html now, where I'd really prefer to use a layout
+ [11 years ago] simon_weber well, shit, apparently you can just index with [var] and it works. who knew

message no. 14943

Posted by simon_weber in #jekyll at 2013-12-14T16:28:52Z

to keep the listener simple
+ [11 years ago] iceTwy I'm migrating from WP to Jekyll, and things are looking rather cool so far
+ [11 years ago] iceTwy though I have this massive post with lots of code and config files excerpts
+ [11 years ago] iceTwy the code's fine, it's bash, so I'm just using {% highlight bash %}
+ [11 years ago] iceTwy but I need the config files excerpts to be in a spoiler (>!) and wrapped in a code block, like so: http://blog.icetwy.re/setting-up-an-irc-server/ (scroll down a bit to see the "Spoiler Inside" parts)