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. |
||
---|---|---|
.. | ||
style.scss |