A simple static website that will render this Repo issues as static markdown content. It categorises the issues by their frontmatter definition (ingredients, recipe type, etc)
- Prerendering: I was confused understanding how the static content loads in the
load
function. I thought Sveltekit will crawl thisload
functions and store each value in the static generated site. Instead, in thesvelte.config.js
options we have a useful prerendering option with anentries
parameter: an array of URL pages. Sveltekit will look for each URLs in our code in the compilation time, resolving each one statically.