diff --git a/_config.ts b/_config.ts index 2c68a35..ac9c120 100644 --- a/_config.ts +++ b/_config.ts @@ -77,10 +77,10 @@ site.use(footnotes()); site.process([".html"], (pages) => { pages.forEach((page) => { - // NOTE: This is a hack to append a class to JS doctrings so that we - // can style them. If only the Hightlight.js plugin could be configured - // to do this instead. if (page.document) { + // NOTE: This is a hack to append a class to JS doctrings so that we + // can style them. If only the Hightlight.js plugin could be configured + // to do this instead. for ( const codeCommentElement of page.document.getElementsByClassName( "hljs-comment",