David Hutchison

Site Updates

Last week I became aware of an issue where some pages of my site were not rendering correctly, specifically ones which used code blocks including line numbers. Unfortunately it looks like this has been the case since February when GitHub Pages upgraded to Jekyll 3.

With the help of Parker Moore from the Jekyll Project the cause was found to be the compress layout for Jekyll, which I’ve previously written about and recommended. This is logged as an issue against the project, but there does not seem to be a fix on the horizon.

In addition to removing this layout from use, I have redone the CSS to be built using SASS instead of LESS. This change is purely so the build is part of Jekyll and not a separate process to manage. Re-doing it provided the opportunity to streamline and optimise the CSS used. The styling is not yet perfect, but it is sure a lot more manageable than it was previously.