`code_excerpter` is the one to blame. I have adapted `code_excerpter` locally to allow it to work with Hugo anyway, so it should be a pretty quick fix.