Hacker Newsnew | past | comments | ask | show | jobs | submit | parkr's commentslogin

YES! :raised_hands:


We're really looking forward to your talk! Can't wait :)


It has always been like that. A file full of static files (no dashes at the top) is still a valid Jekyll site.


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.


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?


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.


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.



Octopress will be updated to use Jekyll 1.0.


Nothing exactly like what you're describing, but this might help you get started: https://github.com/mojombo/jekyll/pull/585


Please do! And let us know if you have any questions. We're reachable on Twitter and we have an IRC channel I hang out in.

Fixed the link, good catch. Thanks!


Hey avolcano! Tom is going to try to push it out soon, but I can't say whether it'll be this week or maybe the end of the month!


It seems that Tom pushed it out! :)

gem 'jekyll', '=1.0.0'

https://help.github.com/articles/using-jekyll-with-pages


Haha, nice shameless self-promotion. It's chill.

Jekyll's meant to be a static blog generator, not a general static site generator.


Check out Octopress. It might be right up your alley (and solve your problems).

http://octopress.org/


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: