Archive of posts with tag “jekyll”
-
Reducing build time of my blog by 88% by optimizing cross-language invocations
Waiting for my blog to build has been making writing articles unpleasant for me. In order to speed up the building, I revamped my Markdown engine to call Pandoc through FFI and call KaTeX through MiniRacer. I am careful to ensure that the cross-language invocations support multithread operations. This reduces the build time of the full site in production configurations on the CI machine (GitHub provided runners) from 156 seconds to 19 seconds, marking a 88% reduction. -
Embed the latest Mastodon post in my website
I show the latest Mastodon post in my website hosted on GitHub Pages, and it does not require JavaScript on the client side. How do I do that? -
I restructured my blog
If you have not noticed, the equations on my blog are now rendered server-side. This change makes it possible for those who turn off JavaScript on their browsers to see the equations. I also updated the theme from Minima v2 to Minima v3. -
Typesetting math in emails
After some comparison among solutions, I use KaTeX to typeset math in my emails. -
Running Jekyll myself
I have got tired of letting GitHub Pages to run Jekyll for me. I cannot use custom plugins! I decide to run Jekyll myself and push the built result to GitHub repo. I wrote a script to do this. -
Amazing Siteleaf
I have been using Siteleaf to manage my blog. It is just convenient and amazing.
subscribe via Atom