Migrated project to use golang.

This commit is contained in:
2026-04-14 08:08:54 +02:00
parent 44fb025c81
commit dbf7858afd
18 changed files with 762 additions and 906 deletions
+33
View File
@@ -0,0 +1,33 @@
{{define "base"}}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{.Title}}</title>
<link rel="stylesheet" href="/static/css/reset.css">
<link rel="stylesheet" href="/static/css/index.css">
<link rel="stylesheet" href="/static/js/index.js" defer>
</head>
<body>
<header>
<nav>
<a href="/">Home</a>
</nav>
</header>
<main>
{{template "content" .}}
</main>
<footer>
<p>&copy; <span id="year"></span></p>
</footer>
</body>
<script>
document.querySelector('#year').innerHTML = new Date().getFullYear();
</script>
</html>
{{end}}
+7
View File
@@ -0,0 +1,7 @@
{{define "content"}}
<section class="hero">
<h1>Hi, I'm Jason</h1>
<p>PHP &amp; Go developer. I build web applications and tools.</p>
<a href="https://codeberg.org/yourname" target="_blank" rel="noopener">Codeberg</a>
</section>
{{end}}