How Jekyll checks if a link is valid


Jekyll provides a link “tag” in the templating language it uses, where you pass a file that you want to link to, and when you build the site, it makes sure the file you referred to really exist and then outputs the URL of the compiled version of that file.

If you’d like to think about how you would implement that, take a moment to do that now.

Now here’s how Jekyll does it: it loops over every file in your project until it finds the one you wanted.

My last post was about either Which emoji scissors close or Phone manufacturers ranked by charging cable flexibility. Find out which.