summaryrefslogtreecommitdiff
path: root/templates/layouts/default.html
diff options
context:
space:
mode:
authora73x <[email protected]>2024-08-27 19:43:56 +0100
committera73x <[email protected]>2024-08-27 20:23:18 +0100
commitd38fc83df3824b840f0b3930e4cb7236bdab84b2 (patch)
tree586a7f940291f933ef2a7e05b20dff21ded6d78a /templates/layouts/default.html
parentcffb105a9ff8ed5d7aa04e5f4097368f6be38b8e (diff)
feat(content): support templating in content
this is tired person code don't write tired person code
Diffstat (limited to 'templates/layouts/default.html')
-rw-r--r--templates/layouts/default.html75
1 files changed, 0 insertions, 75 deletions
diff --git a/templates/layouts/default.html b/templates/layouts/default.html
deleted file mode 100644
index 14868cf..0000000
--- a/templates/layouts/default.html
+++ /dev/null
@@ -1,75 +0,0 @@
-{{define "base"}}
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta name="description" content="Home for a73x" />
- <meta name="author" content="a73x" />
- <meta name="viewport"
- content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, width=device-width" />
- <title>a73x</title>
- <style>
- @font-face {
- font-family: 'Mono';
- src: url('/static/V1-ServerMono-Regular.woff2') format('woff2');
- font-weight: normal;
- font-style: normal;
- }
- h1 {
- margin-bottom: 0;
- }
- body {
- max-width: 70ch;
- font-family: "Mono";
- }
-
- pre {
- overflow: scroll;
- font-family: "Mono";
- color: crimson;
- background-color: #f1f1f1;
- padding: 2px;
-
- }
-
- pre code {
- background: none;
- }
-
- code {
- font-family: "Mono";
- color: crimson;
- background-color: #f1f1f1;
- padding: 2px;
- }
-
- nav ul {
- display: flex;
- list-style: none;
- }
-
- nav ul li {
- margin-right: 20px;
- }
- </style>
-</head>
-
-<body>
- <h1>a73x</h1>
- <sub>high effort, low reward</sub>
- <nav>
- <ul>
- <li><a href="/">home</a></li>
- <li><a href="/posts.html">posts</a></li>
- </ul>
- </nav>
- {{ template "content" . }}
- <footer>
- <br />​<hr />​​​​​​​​​​​​​​​​​​​<br />​​​​​
- <p>see something you disagree with? Email: <a href="mailto:[email protected]">[email protected]</a></p>
- </footer>
-</body>
-
-</html>
-{{end}} \ No newline at end of file