new_blog/templates/default.html

46 lines
2.1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!-- not sure if this is good or bad for mobile -->
<!-- <meta name="viewport" content="width=device-width, initial-scale=1"> -->
<title>{{{title}}} · Pagwin's website</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap"
rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&display=swap"
rel="stylesheet">
<meta name="theme-color" content="#1c1b19" media="(prefers-color-scheme: dark)">
<meta name="theme-color" content="#e2e3e5" media="(prefers-color-scheme: light)">
<link rel="stylesheet" type="text/css" href="/static/css/layout.css" />
<link rel="stylesheet" type="text/css" href="/static/css/colors.css" />
<link rel="alternate" type="application/rss+xml" title="Web Feed/RSS" href="/index.xml">
<script type="module" src="/static/js/code_highlighting.mjs"></script>
</head>
<body>
<!-- originally handled dark v light via js but decided it would be better to just do it all in css and have no toggle 8a7917a0cd34bd7637d9a9a8ad327e4b847cdeed is the last commit where I had the system setup -->
<header id="header">
<a class="nav-link" href="/">Home</a>
<a class="nav-link" href="/posts/">All Posts</a>
<a class="nav-link" href="/links/">Other places I'm at</a>
<div class="back-shover"></div>
<a class="icon" href="/index.xml"> <object width="100" height="100" class="icon svg"
data="/static/images/rss.svg">atom/rss/web
feed</object></a>
</header>
<div id="content-outer">
<div id="content">
<main>
{{{content}}}
</main>
<footer>
</footer>
</div>
</div>
</body>
</html>