Eleventy is a relatively new static site generator. I've heard it's "almost fascinatingly simple", and I have a situation at work that is perfect ...
For further actions, you may consider blocking this person and/or reporting abuse
Thank you for the feedback, Erich!
Your reply inspired me to look into it a little further, and learned I can use the built-in URL filter since I'm deploying to a sub-directory.
Using this, one of my links looks like this:
<a href="{{ '/myFirstPost' | url }}">First Post</a>, where the|is the filter operator, andurlindicates to use theurlfilter.All I had to change was the formatting of those links to other posts, and add the trailing slash to the
pathPrefixin.eleventy.js.This also means I can delete
_data/site.json, since there's no need to declare the pathPrefix there too.I am going to update this mini-tutorial, thank you again!
One additional step I needed to follow was adding an empty .nojekyll file to my main branch. :)
Interesting! What did adding that file fix?
Just want to say thank you. Even 2.5 years later this is what finally got me on the right track and fixed my deploy.