Migrating from Jekyll to Hugo

Jekyll turned out to be too complex for me, installing and maintaining Ruby gems requires too much effort for my anemic website. Hence - I’m now using Hugo. I (heart) Golang.

Compressing PDFs

Following Thomas’ advice I just added this to my .bash_profile:

compresspdf() {
  tmpfile=$(mktemp /tmp/compresspdf.XXXXXX)
  cp -p "$1" $tmpfile
  gs -sDEVICE=pdfwrite -dNOPAUSE -dQUIET -dBATCH -dPDFSETTINGS=/printer -dCompatibilityLevel=1.4 -sOutputFile="$tmpfile" "$1"
  mv -f $tmpfile "$1"

Just invoke it with: compresspdf filename

Welcome to Jekyll, goodbye to Drupal!

I finally migrated from Drupal to Jekyll. While I still like Drupal as a project, maintaining my small and simple site with a full-blown CMS has become too cumbersome.

NoCMS for the win!