12 ms·
GitHub pages is now running Jekyll 3
- tedkimble 11y agoGood news. We're using Jekyll 3 at Static Website Manager [1], but we're moving to support older specific versions as well as custom Gemfiles. [1]: https://www.staticwebsitemanager.com https://www.staticwebsitemanager.com Are there any features the community would love to see offered in a Jekyll-based CMS?
- technion 11y agoMy Jekyll work flow tends to involve: Write a blog. Publish. Recognise horrid markdown bugs. Go and fix already published blog. I appreciate there are better workflows, but as a Windows user I'm not going to install Jekyll to publish locally and test, nor is my blog big enough to justify a test environment. The "drafts" feature basically just takes a draft and publishes it. What would really make life easier is it the drafts feature would "publish this blog, but don't update the front page to link it". I could look at it knowing the URL, and get it right first.
- JorgeGT 11y agoAs a fellow Windows user (at least at home) with a Jekyll blog deployed on GitHub pages, I would recommend using a web IDE such as c9.io or koding.com. They are little VPSs with sudo access (and a private web server) so you can test "locally" there and then git push once you're ironed out bugs. In your Windows machine you only need a web browser.
- tedkimble 11y agoThat's my main use case. I've got my personal blog [1] setup as a Static Website Manager repository and connected to my personal AWS S3 bucket. Whenever I need to make a little change I can edit locally in my editor of choice, commit and push to SWM where I can preview the changes before merging to my production bucket (all without installing Jekyll locally). If I don't have my machine, I can also just login, edit the text and then follow the same preview/merge to deploy workflow. [1]: http://www.theodorekimble.com http://www.theodorekimble.com
- WorldMaker 11y agoAt least Jekyll 3 is much, much easier to install in Windows than 2 was.
- bnj 11y agoSomething that's possible with some static engines but not really catered to is the ability to include the contents of other markdown files into a page- ----page---- # Title << contents of /markdown/file >> << second file >> << third file >> Useful if you have lots of sections that you want to combine in different ways, and update them all at the same time...
- mojavelinux 11y agoAsciiDoc support would be brilliant. There's a gem for that. (See https://github.com/asciidoctor/jekyll-asciidoc https://github.com/asciidoctor/jekyll-asciidoc). Many people ask about it. GitHub has been reluctant to adopt.
- pizn 11y agoOh...I like this. I code a project that can help me to write and publish my Jekyll blog on Github. https://github.com/pizn/eevee https://github.com/pizn/eevee
- kevinSuttle 11y agoFigures I just switched my site to Ghost.
- wanda 11y agoGhost is a great platform, very easy to extend and you can host it for free on Openshift[1]. You can use ghost-render[2] to publish the blog as a static site if you want to stick your blog on Github Pages. [1]: https://github.com/openshift-quickstart/openshift-ghost-quickstart https://github.com/openshift-quickstart/openshift-ghost-quic... [2]: https://github.com/mixu/ghost-render https://github.com/mixu/ghost-render
- geraldbauer 11y agoGreat news. Congratulations. If anyone is interested in learning more about Jekyll I've put together a link collection called Awesome Jekyll @ Planet Jekyll [1] - it also includes a section on the history (evolution) of GitHub Pages. Cheers. [1] https://github.com/planetjekyll/awesome-jekyll https://github.com/planetjekyll/awesome-jekyll
- deleted 11y ago[deleted]
- hk__2 11y agoWhy are you using a README to display this list instead of GitHub Pages?
- minimaxir 11y agoYou can't easily do pull requests on a GitHub Pages static file. (You'd have to edit the source.)
- yeukhon 11y agoCan you use Travis to build and modify the repo for you?
- benbalter 11y agoThey work just like any other Markdown file, and you can include a link in the rendered site to edit. See http://ben.balter.com/2015/09/13/github-pages-edit-button/ http://ben.balter.com/2015/09/13/github-pages-edit-button/.
- minimaxir 11y agoAh, I am referring to the use case where the site is rendered clientside via Jekyll, then uploaded to the x.github.io repo. (which lets you use plugins, among other things, which is why I thought that was the more frequent use case). Not the loading-markdown-directly workflow.
- Relys 11y agoAbsolutely love Jekyll and GitHub Pages for hosting project documentation and personal websites. Just wish GH Pages would support SSL. :(
- jcxplorer 11y agoYou can always add CloudFlare in front of it. They also provide free SSL certificates.
- maaku 11y agoThat's.. not the same.
- sytse 11y agoIn case SSL support is essential to you please know that we'll looking to bring it to _GitLab_ Pages in a few months https://gitlab.com/gitlab-org/gitlab-ee/issues/134 https://gitlab.com/gitlab-org/gitlab-ee/issues/134
- frankthedog 11y agoIs GitLab pages going to be available to non-enterprise gitlab.com users? If not, may I respectfully request that it is?
- fiatjaf 11y agoNo way. Asking for free stuff when you don't need it or can buy it cannot be respectful.
- artimaeis 11y ago> non-enterprise gitlab.com users No one was asking for it to be free. Currently it's tracked as a feature for enterprise users. They have 3 paid plans for non-enterprise users, and I'm certain many of those non-enterprise folks would love it.
- z1mm32m4n 11y agoI was a little surprised to see that GitHub is essentially playing favorites with Markdown rendering engines. Is there a discussion somewhere that outlines some of the reasoning behind this pick?
- marblar 11y agoI think the wikipedia page for Jekyll gives a pretty big hint: https://en.wikipedia.org/wiki/Jekyll_(software) https://en.wikipedia.org/wiki/Jekyll_(software)
- benbalter 11y ago> Is there a discussion somewhere that outlines some of the reasoning behind this pick? Yes. The decisions was actually made on the open source GitHub Pages Gem repo, based on both user feedback and actual usage stats: https://github.com/github/pages-gem/issues/179 https://github.com/github/pages-gem/issues/179.
- smaili 11y agoSlightly off topic but is RoR still the web framework of choice for developers? Could be just me but it seems most unicorns still continue to use it, even with all of the Python/Node/PHP frameworks out there.
- teen 11y agoIf I were to guess I'd say no, with the majority being Node.js, then a mixture of Rails, Python, Go, and Erlang for the rest. As a note, Jekyll isn't using Rails, it's just using Ruby.
- scrollaway 11y agoHmm, I hate to be a downer but this is a bit of a disappointing announcement for a major upgrade - basically, one very minor addition and a bunch of features removed - not that they were needed/widely used, but there's nothing else to show for it. Am I missing something? Also it's a bit unfortunate there's still no easy way to do site translation in Jekyll. Anyway, well done on the upgrade. Love jekyll.
- WorldMaker 11y agoA lot of the Jekyll 3 changes [1] thus far are focused on making the development life easier: faster (incremental) local builds and a lighter, easier to install stack with fewer dependencies (no more native library dependencies out of the box, no more dependencies on Python and Node by default). Correct, nothing really mind blowing if you have all of it already set up and a relatively small Jekyll site, but big news for new users (especially on Windows where the native libraries and multi-language support have been bigger hurdles) and for people with large sites both in locally developing and debugging them and also in Github deployment times. [1] https://jekyllrb.com/news/2015/10/26/jekyll-3-0-released/ https://jekyllrb.com/news/2015/10/26/jekyll-3-0-released/
- dweinus 11y agoI have to agree: they took away 2 features I was using and gave me better performance in the one place I don't care about performance.
- programminggeek 11y agoJekyll 3 is pretty great. If you need any help getting your site hosted, I'm working on a hosting setup that is way easier than S3 or any other option out there. http://www.statichosting.co http://www.statichosting.co We are in private beta and are looking for people to try it out and give us feedback. We think it's great and are looking for early adopters who want an awesome static hosting experience.
- kjaer 11y agoPretty cool! If you can set up some sort of integration with Travis (which itself integrates nicely with GitHub), and you set up SSL, HTTP/2, good caching policies etc., you're golden.
- inthewoods 11y agoTake a look at https://www.netlify.com https://www.netlify.com
- programminggeek 11y agoI'll add that to the list of features. Our focus is on simplicity and there are only two of us, so adding features in a way that fit our limited resources and vision is a bit tough. We are working on SSL and making sure we have good caching policies by default. Travis and GitHub integration are things we haven't looked at yet, but will. If you are looking for something right away before we have all those features, you might check out netlify. They already support a lot of those features and might be a better fit in the short term.
- tdicola 11y agoIs there a list of new features in Jekyll 3 vs. 2? I looked at Jekyll's docs and can't seem to find anything. It has a nice guide of how to move from 2 to 3, but is there any succinct list of what new stuff you can do in 3, if anything? edit: Actually, this looks promising: https://jekyllrb.com/news/2015/10/26/jekyll-3-0-released/ https://jekyllrb.com/news/2015/10/26/jekyll-3-0-released/
- enzanki_ars 11y agoAloso check out http://jekyllrb.com/docs/upgrading/2-to-3 http://jekyllrb.com/docs/upgrading/2-to-3. Not much has changed for end users, but still some minor changes to be aware of.
- kmfrk 11y agoThe incremental building of the site is big, because it was beginning to become a concern just how well you could manage a large site with many posts and contributors. On top of that, Liquid is finally being updated to 3.0, which comes with a couple of neat features. It’s also nice to finally see an end to the Markdown discussion.
- tylercubell 11y agoShameless plug: Once you're on Jekyll 3, check out http://jekyllthemes.io http://jekyllthemes.io to upgrade your theme too.
- JorgeGT 11y agoThis helped me in the past. Thanks, it is nicely curated :)
- geraldbauer 11y agoFor more (alternative) Jekyll themes see the Dr. Jekyll's Themes directory [1] it also includes a command line package manager and setup wizard. Cheers. PS: The site is build - of course - with Jekyll and GitHub Pages ;-) and open source [2]. Did you know that you can even use git submodules with GitHub Pages? Works great. [1] http://drjekyllthemes.github.io http://drjekyllthemes.github.io [2] https://github.com/drjekyllthemes/drjekyllthemes.github.io https://github.com/drjekyllthemes/drjekyllthemes.github.io
- Animats 11y agoOK, a standard dialect of Markdown. In the beginning was RUNOFF from MIT, which originally had about the power of Markdown. More features were added, and it became nroff, then troff, the ditrofff, and macro systems were added on top of it. It became too hard to use for casual work. Then there was TeX, which was a saner approach to what troff did. Macro systems were added on top of it. It became too hard to use for casual work. Then there was HTML, which started out with about the power of Markdown. More features were added. It became too hard to use for casual work. Then there was BBcode, which started out with about the power of original HTML. It didn't gain many features, and is still widely used. Then there was Markdown, which started out with about the power of original HTML. More features were added. Macros have been added by at least five people, but haven't quite gone mainstream yet. When Markdown gets macros, it, too, will be too hard to use for casual work. Next!
- codemac 11y agoTexinfo has actually not been so bad to use, though ugly as sin. Scribble / Skribilo (racket & guile) are both excellent, but have some sharp edges. At least for HTML I've found that using a basic subset still hasn't broken. I use org-mode pretty exclusively, but it has the opposite problem of what you mention - it requires macros in your editor (maybe a set of Editor MACroS if you will..). This makes in unusable for anyone outside the emacs lifestyle.
- BHSPitMonkey 11y agoThe nice thing about Markdown that doesn't apply to those other formats is that it's designed to read naturally in plaintext. That constraint should (in theory) prevent it from transforming into something prohibitively complicated to write in.
- Pxtl 11y agoExcept for links to images. I can never freaking remember those. Also, the silly space-at-the-end for line breaks.
- 11y ago
- slantedview 11y agoWith this change, Github has made Rouge the only (and mandatory?) highlighter supported. This is a problem for sites that disable Jekyll highlighting in favor of using something like highlight.js. It appears right now that there is no way to disable Rouge which is causing conflicts with my sites that use javascript highlighting.
- geraldbauer 11y agoFYI: You can disable Rouge - just set the Kramdown highlighter to nothing in the Jekyll _config.yml. That's all.
- slantedview 11y agoAttempting to disable the highlighter gets you a page build warning: You are attempting to use the 'none' highlighter, which is currently unsupported on GitHub Pages. Your site will use 'rouge' for highlighting instead.
- nomided 11y ago> Starting May 1st, 2016, GitHub Pages will only support Kramdown Kramdown has strange behavior. http://stackoverflow.com/questions/23751917/how-do-you-disable-tables-in-kramdown http://stackoverflow.com/questions/23751917/how-do-you-disab...
- chown 11y agoShameless plug: LightPaper has some nice support for Jekyll rendering: http://lightpaper.42squares.in/?ref=hkj http://lightpaper.42squares.in/?ref=hkj among other great features.
- bigmanwalter 11y agoI just found out about Lektor the other day. https://www.getlektor.com/ https://www.getlektor.com/ It's like Jekyll meets WordPress, written in Python by Armin Ronacher. He's the guy who wrote the extremely popular Python microframework, Flask. It's a static site generator with a slick React powered admin interface intended for editors (non-programmers) to use. It runs locally like any good static site generator should and runs on Windows, OSX and Linux. With the click of a save button, it'll upload your statically generated site to any ftp or rsync server you choose ;) Took me only 2 hours to have it building a page with a nav menu, localization, and a slick admin interface even though I had never even used Python before!! All you do is declare your models, place references to them in your templates, and it handles the rest for you automatically. The project is still a little rough around the edges as it was only released in December, but I'm already falling in love with it and I'm really excited to see how it changes the web once it gets built out a bit more. Non-programmer editable static sites is a huge deal!!!!
- julianz 11y agoLektor looks really cool. For the life of me I don't understand why it's only in Python 2.7 though.
- jsmthrowaway 11y agoArmin has historically been one of the most vocal of those critical of Python 3, and has even compared it to XHTML. He was pressured into porting Jinja2 and it cooled him on Python, if you read older posts of his. The answer should be pretty clear when you notice that Lektor fails on a print() not having parentheses (and not, say, a dependency). Unicode in Python 3 is his problem, and there was one post I can't find on mobile where he started ranting about POSIX and Unix for some unclear reason. I can't follow him on a lot of it, as much as I respect his work, because if you read objectively it's pretty clear the reasoning is often there to support a predisposition. Meanwhile, my whole stack is Python 3 and I'm having a grand old time less the pieces where I had to sub in shittier libraries, and not a single problem Armin has ever raised about Python 3 has hit us. Not one. Most of it boils down to Unicode issues that have been issues outside of Python for 20 years. This isn't to say Python 3 is perfect. (Far from it.) He also often writes what I like to call the "Alex Gaynor Conclusion," which is tediously enumerating in the conclusion why you're going to call him wrong in his opinions which somewhat minimizes effectively disagreeing with him. There is a subculture of people who do this, and it mildly bugs me. Nothing against him; just an observation. Anyway, port it and drop a patch, and I'll buy you scotch. I know better than to make any request other than that, and it's cooled me on using Armin's software in general (to my disappointment; Armin's Web stack has been a trusted friend through four different employers, from Werkzeug on up, and it's a massive bummer to see Lektor confirm suspicion).
- zammu 11y agoFor everyone who's thinking "It would be great if Github Pages supported X", I am building https://zammu.in/?invitation_code=HACKERNEWS https://zammu.in/?invitation_code=HACKERNEWS . It currently supports Middleman, Hugo, Hexo, Octopress and Jekyll. I am planning to add more to the list. For every Git push to the master branch it builds and deploys the generated site to Github Pages.
- tuananh 11y agoRecently tried Hugo. The speed is amazingly fast. Much much faster than jekyll.
- geraldbauer 11y agoFYI: I've put together a static site showcase called Stay Static [1] that builds the same site (w/ pages, posts and links) for easy comparision with Jekyll, Middleman, Hugo [2], etc. Hugo is great. The Go template language is somewhat unconventional and does not yet support nested layouts (as do Jekyll, Middleman, etc.), for example. Cheers. [1] http://staystatic.github.io http://staystatic.github.io [2] https://github.com/staystatic/hugo https://github.com/staystatic/hugo
- tuananh 11y agonice. the theme looks good too. i think will fork it to rebuild my site.
- hitlin37 11y agoare there any sample pages running with Jekyll 3 to see?
- yakshaving_jgt 11y agoFun fact: GH Pages changed the way trailing slashes work, so all links to my site dotted around the Internet broke as soon as I made a change. I had to update all the permalinks in my post to explicitly include the trailing slash. Thanks GH Pages!
- edem 11y agoDoes this mean that I can generate github pages from the Wiki pages as well? I think that would be the most needed feature.
- smartial_arts 11y agoFrankly, Github did a very poor job at communication this breaking change. I only recently discovered that most of my post got broken. Apparently it's no longer legit to use "#Title", you need to "# Title" (and god knows what else). Linking is broken too - in Jekyll 2 there was no difference if a URL ended in "/" or not - you were just taken to the page, now this is a massive, although fixable pain (see https://github.com/jekyll/jekyll/issues/4440 https://github.com/jekyll/jekyll/issues/4440) As a result my site experienced 500% drop in organic search referrals from Google. I got no single email from then announcing this change. Very unhappy with how github handled it.