+[2017-06-15T16:28:51Z]ash_workzlike set the page dir as a variable in the config and pass it to the _layout (which would pass it to the include) +[2017-06-15T16:29:05Z]ash_workzit just seems like an awful lot of work to accomplish a simple goal +[2017-06-15T16:31:29Z]allejocould you use site.docs instead of include.docs? +[2017-06-15T16:31:50Z]allejoor is it unique? +[2017-06-15T16:32:13Z]allejoif so, you could probably pass `page.docs` (or whatever) from a _layout
I didn't know gists convert front-matter to tables
+[2017-06-16T20:25:12Z]ash_workzI mean, I could've perhaps done {if old contains string} new = new | join '|'; new = new | append: '|' | append string; new | split '|'; {endif} +[2017-06-16T20:26:01Z]ash_workzallejo: is there a way to include *toc in a template? +[2017-06-16T20:26:11Z]ash_workzallejo: I mean a layout +[2017-06-16T20:42:40Z]allejowith a plugin it's possible. also I wrote up a liquid only solution if you'd want that +[2017-06-16T20:43:07Z]allejobut there's no way to use kramdown's toc snippet from a layout to my knowledge