let header = `<head> <style> @media (prefers-color-scheme: dark) { body { background-color: black; color: white; } a:visited { color: violet; } } </style>WELCOME TO DEADVEY'S DOMAIN!!!<br/> <a href="/" onclick="history.back()"><img src="/images/return.png" width="20" />Return</a> / <a href="/">Home page</a> / <a href="/blogs/index.html">Blogs</a> <a href="/blogs/feed.xml"><img width="16" src="/images/feedIcon.png" class="feedicon" alt="Feed image"/></a> / <a href="/board/index.html">Boards</a><hr/>` let footer = `<hr/><ul> Internal pages: <li><a href="/experiments" >Experiments <img height="30" src="/images/experience-green-liquid.gif" /></a></li> <li><a href="/isthistheyearofthelinuxdesktop" >Is this the year of the Linux Desktop? <img src="/images/penguin-dance-pengu.gif" height="20" alt="penguin dancing" /></a></li> <li><a href="/theunderland" >theunderland wiki <img src="/images/flashlight.gif" alt="torch scanning" height="30" class="rotate" /></a></li><li><a href="/maths">Maths Quiz</a> </li> <li><a href="http://deadvey.com:3000">Invidious <img src="/images/invidious.png" height="15"/></a></li> <li><a href="http://deadvey.com:8096">Jellyfin <img src="/images/jellyfin.png" height="15"/></a></li><a href="http://deadvey.com:7993">Monkeytype</a> <img src="/images/monkeytype.png" height="15"></li><li><a href="/search">Search blogs</a></li><br/><br/>External sites: <li><a href="https://git.javalsai.dynv6.net/deadvey" >Gitea</a></li><li><a href="https://javalsai.dynv6.net">Javlsai</a></li><li><a rel="me" href="https://mastodon.social/@DeaDvey">Mastodon</a></li> </ul><br/> <small width="300px">© DeaDvey 2023 - 2024<br/>This work is licensed under the terms of the <a href="/LICENSE">GNU General Public License, version 3.0</a>. You are free to copy, distribute, and modify this work under the terms of the <a href="/LICENSE">GPL 3.0 License</a>. Please see the full license text for details.</small>` let pageTop = `<!DOCTYPE html> <head> <meta charset="UTF-8"/> <title>DeaDveys Domain</title> <link rel="icon" href="/images/favicon.png"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <div id="header">${header}</div><!--header--> <div id="main"> <body> ` let pageBottom = `</body> </div> <div id="footer">${footer}</div><!--footer--> </body> </html>` if (typeof module !== 'undefined' && module.exports) { module.exports = { pageTop, pageBottom, header, footer } } function goToLink(link) { window.location.href = link }