c-hive / dotdev

Next.js SPA professional website template for teams and individuals: https://c-hive.github.io/dotdev/
MIT License
0 stars 1 forks source link

Fix <title> tag usage #121

Closed gomorizsolt closed 4 years ago

gomorizsolt commented 4 years ago

The following error bubbles up in the console:

Warning: should not be used in _document.js's <Head>. <a rel="noreferrer nofollow" target="_blank" href="https://err.sh/next.js/no-document-title">https://err.sh/next.js/no-document-title</a></p> </blockquote> <p>Also see: <a rel="noreferrer nofollow" target="_blank" href="https://github.com/zeit/next.js/issues/4596">https://github.com/zeit/next.js/issues/4596</a></p> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>