How is this Website Generated?

The title and social media links are in the index.html file. I have a list of markdown files in a directory which are the “posts”. I have a racket program gen.rkt that gets all the markdown files and builds the following 2 lists:

The file names are used to generate the links and the titles are used to generate the name of the link:

from:

`(p (a ((href ,post-link)) ,post-title))

to:

<p><a href= post-link ></a> post-title </p>

A list of these is made per post, which is then spliced into a div tag wrapping the posts.