-
-
Notifications
You must be signed in to change notification settings - Fork 244
Conversation
a29179e
to
b4371b7
Compare
Just to make sure that I understand it correctly. The biggest advantage of switching to this is that we don't have go through the pain of installing Jekyll any longer, right? Cause otherwise, it looks pretty much the same. |
Yes, biggest benefit is that we'll be using a build tool that we can configure using JS. We'll consequently get rid of our dependency on Ruby. Build times also seem to be improved for me. |
I'll also add that this will give us a lot more flexibility in the future. It looks a lot like Jekyll right now for the sake of conversion. |
I see. Well getting rid of Jekyll is a very powerful reason, I absolutely hate it:-) |
This is mostly working, if anyone else wants to play around with it! Known issues (feel free to edit):
|
I'm not sure why Netlify isn't running... |
Ah, looks like it's running now 👍 Should be able to check the deploy preview to test it. |
👍 |
Some other notes:
|
ee36374
to
7ad9d61
Compare
Okay, I think I have everything working, down to syntax highlighting. 🎉
I converted some of the YAML data files into JSON because Eleventy doesn't support YAML for data out of the box. I would want to make sure I update the data generation script in The RSS feed doesn't load locally (probably some limitation with how I believe this is ready for evaluation from the team! Please let me know if you see anything amiss. |
I believe this is ready to go! Will deploy sometime in the next few days. |
@kaicataldo I pulled down this branch to try running it locally, but I can't seem to be able to either build or start anything. Here's the error below:
I checked, When I run |
@ilyavolodin Thanks for checking this out! What Node version are you using? |
I'm on 10.14.1 currently. I was able to manually compile everything and run it (bypassing npm scripts, which are still failing). Everything looks fine to me. But just to make sure, I'm currently running the site through crawler, to catch errors. |
Hmmm I'm unable to replicate locally on 10.17.0 on macOS. I wonder if it's a cross-compatibility issue in earlier versions of Node? I'll see if I can replicate on my Windows machine. |
Would be good to start running CI in a Windows env in this repo as well. |
I was able to replicate this in Windows 10 using Node 12.13.1. Probably some cross-compatibility issue. |
Crawler finished testing local site. Everything looks pretty good. A few broken links, but I'm pretty sure those are broken in production as well. Here's the output:
|
Okay, this is now working for me in Windows 10 on Node 12.13.1. @ilyavolodin Can you check if it all looks good on your end? |
Could this be an issue with Node 10? I actually set the |
Everything is working fine for me now. Sorry about the noise, I forgot to run |
No problem! Appreciate the help :) |
Yes, I'd love to make it faster in the future. Note that in Jekyll we were excluding a bunch of files from the build to speed it up, which doesn't seem possible with Eleventy at the moment. Would love to figure that out going forward. I'm also hoping Eleventy will eventually get incremental build support - right now it rebuilds the whole world on every file change. |
refs #536
This is a work in progress.I know we haven't officially decided to use Eleventy, but I wanted to give it a shot to see what cutting over would look like.It's not all working yet, but it's looking promising!There might be a few small things I need to fix still, but this is looking good to me. Would love to see what others thinks.
Note:
Eleventy is pretty flexible and allows you to pick the templating engine you want to use. The default is
liquid
(which is what Jekyll uses), which made converting fairly straightforward. If we go this route, going forward we'll have more flexibility in terms of templating engines and overall project structure.