News for hackers. Stuff that matters.
Re:Jekyll 2.0.0 is released by nilved on Tuesday May 06, 2014 @11:00PM (#7708392)
Quite disappointed the developers have decided to stick with Liquid templates. With such a handicapped and useless template language, jekyll is a non-starter for any website more complex than something you could trivially write yourself.
Re:Jekyll 2.0.0 is released by parkr on Tuesday May 06, 2014 @11:29PM (#7708468)
For security reasons, we have no choice. It's specifically designed not to allow execution of arbitrary Ruby code. GitHub wouldn't run Pages if Jekyll didn't have this guarantee.
Re:Jekyll 2.0.0 is released by wasd on Thursday May 08, 2014 @04:21AM (#7714383)
I don't use jekyll and have a fairly limited knowledge of pages but doesn't jekyll output static html? Even if you used a dynamic language to create the project, wouldn't it not matter because the end result will be static?
Re:Jekyll 2.0.0 is released by nilved on Monday May 12, 2014 @10:00AM (#7732687)
You'd be able to run arbitrary Ruby code during the compilation of your site. GitHub uses Liquid templates as a pseudo-sandbox: it's deliberately a weak system to prevent abuse. But it's lazy, because there are many other solutions that don't take away from user experience.
Re:Jekyll 2.0.0 is released by benatkin on Tuesday May 06, 2014 @11:41PM (#7708500)
They could probably use Docker and not allow network access and limit the resources (including time) to do a build. I don't know if their business model would support it but it's technically possible.
Re:Jekyll 2.0.0 is released by benatkin on Tuesday May 06, 2014 @11:42PM (#7708504)
With Jekyll and GitHub pages people don't have to run any code on their own computer systems. Combined with GitHub for mac and windows, this counts for something in my book.