I’m fairly new to Jekyll, I’ve been using it for a few months now. I’ve created a few sites so far and every time I use it, I learn something new. There’s one thing I can’t seem to understand and it’s kind of bugging me. I get how Jekyll processes the site and produces a static version in the _site folder, which I usually then upload to server via FTP (I don’t use GitHub Pages to host the sites). When I inspect the _site folder, the site looks like any other static site I created in the past using plain HTML, CSS and JS. I can see how the variables, includes, templates and other Jekyll files get converted into plain HTML in the finished site.
My question is, are there any hidden files in the _site folder that tell the server/browser for example to make URL pretty or any other permalink style as specified in the configuration file in the development setting? Because in any other scenario, if I make a static site and upload it to the server, I’d have to use htaccess file to control things like removing HTML extension from a URL. Where are things like that specified in the finished and processed Jekyll site? I’m just trying to understand how Jekyll works behind the scenes, especially as I’m not familiar with Ruby.
Thanks in advance!