jacebrowning/doorstop — pull request #102 by elewis33 (2014-06-17 04:40:36+00:00)
Title: Linked CSS

Not sure if there was a reason for the practice of embedding CSS in every HTML page, but I thought I'd try my hand at a little python and link it rather than embedding. Made a few mods to copy the CSS file to the output folder and then create a standard header (and footer) that has the CSS linked.

This will definitely break if the HTML files are placed into directories, but at this point it appears to be a flat structure. If there are plans to create sub-folders for the HTML output please do let me know.

Not sure this is of interest to anyone else but I thought it was worthwhile to give it a try. And the upside is I'm learning python in the process. Hope I'm not embarrassing myself with my amateur code. Please let me know if you think this is something that's useful. Or, am I breaking something that you intended with the embedding practice?