Moved lua footer stuff out of code block to insert links (markdown won't do links in code blocks