Begin porting code from NJR

This commit is contained in:
2025-01-02 20:34:22 +00:00
parent ccdc106ef8
commit 8cb13a4bca
27 changed files with 623 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
{% include 'header.html' %}
{% include 'footer.html' %}

5
src/templates/error.html Normal file
View File

@@ -0,0 +1,5 @@
{% include 'header.html' %}
<section id="post">
{{ post | safe }}
</section>
{% include 'footer.html' %}

View File

@@ -0,0 +1,5 @@
<footer>
<p>&copy 2024 Jake Charman. This site uses cookies.</p>
</footer>
</body>
</html>

19
src/templates/header.html Normal file
View File

@@ -0,0 +1,19 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Jake Charman</title>
<link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&family=Tourney:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Orbitron:wght@400..900&family=Tourney:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style/mobile.css" />
<link rel="stylesheet" href="style/desktop.css" />
<link rel="stylesheet" href="fonts/fontawesome/css/all.min.css" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
</head>
<body>
<header>
<div id="logo">
<h1>Jake Charman</h1>
</div>
</header>

View File

@@ -0,0 +1,2 @@
{% include 'header.html' %}
{% include 'footer.html' %}