Embedding js in pelican

The pelican

Sometimes I like to write a little js in my blog posts. Here is an example of how to embed a javascript file in a pelican article.

Below the fold, is an example of embedding a js chart into a pelican article. Specifically, we have the crude marriage rates in Australia for 2000 to 2022. Not many surprises here, the crude marriage rate has been in decline for the past 20 years, barring some minor fluctions most dramatically due to Covid.

source data: Parliamentary library

Note this website here is wrong because the ABS changed there methods. Pretty cheeky to charge you $199 USD per year for bad collation of public data.