S3

Hugo Updates, S3 and CloudFront

Feb 27, 2020
Hugo, S3

Two days ago I updated Hugo to version 0.65.3 before moving this site from my EC2 to S3. Then I realized that in recent updates, Hugo dropped pygments as a dependency (#4491). As a result, all SAS codes on this site lost syntax highlights, because the highlighter chroma used by Hugo had not yet supported SAS language. After trying different options like using client-side syntax highlighter, I gave up and decided to add SAS support myself for chroma. ...