A Case of Failing Static Generation After Modifying Discuz Templates: <!–{eval output();}–>

A while back, while modifying a Discuz template, I removed a block of code at the bottom of footer.html, which ended up breaking the site’s static URL rewrite functionality:

The fix was simply to add the relevant code back, but what exactly that piece of code does remains a mystery.

Leave a Comment

Your email address will not be published.