Website maintenance


[Dynamic LinkStatic Link]
Posted: 2020-10-17
Last Edited: 2020-10-17

Purging Node

Since i've remade my website, the fact that i used node has been irking me. To be honest, so has the fact that i use python; i don't see any other way of using md for my posts without serious pain and suffering in shell script. To combat the fact that node pollutes my source tree, i reworked my shell script and my python build script. They regrettably increased in lines-of-code, but are at least slightly more readable. I also now use multiprocessing to process the posts in parallel, and i have implemented a very basic css/js compressor which strips newlines, carriage returns, and tabs from the source file (it marginally shrinks the filesize). For html source files, i only remove tabs since Hoedown uses newlines to format its codeblock output. After removing node, i did some spring cleaning, removing unused icons and the old compilation shell script.