I’m running version 89.1 and fixing the tweet shortcode format. It recently started giving this error:
ERROR 2021/11/06 11:01:28 unexpected : in var statement on line 340 and column 24
8: var end: new Date(dt);
^
ERROR 2021/11/06 11:01:28 expected ) instead of EOF in arguments on line 361 and column 77
1: document.getElementById(
^
Error: Error building site: failed to render pages: expected ) instead of EOF in arguments on line 298 and column 100
1: document.getElementById(
^
Total in 82503 ms
I’m still trying to track down where the offending code might be, but the first bit looks like core hugo.