Since we're pre-rendering the page now, we can't select a song quote on the server side. Instead, we'll use JavaScript to fetch the song quotes as a JSON document and choose a random song from there. The JSON document is converted from the YAML source at build time with a simple Python script. |
||
---|---|---|
.. | ||
base.html | ||
blog-page.html | ||
blog.html | ||
cv-nav.html | ||
cv-page.html | ||
cv.html | ||
index.html |