summary refs log tree commit diff
path: root/src/tmpl.html
diff options
context:
space:
mode:
authordzwdz2023-05-25 21:54:37 +0200
committerdzwdz2023-05-25 21:54:37 +0200
commita0a4920deaf4ca645cdfee45edf00e614369882f (patch)
tree6dc02a9f563769f02d1f70976ed18c230aca6f81 /src/tmpl.html
initial commit
Diffstat (limited to 'src/tmpl.html')
-rw-r--r--src/tmpl.html55
1 files changed, 55 insertions, 0 deletions
diff --git a/src/tmpl.html b/src/tmpl.html
new file mode 100644
index 0000000..7f73c4d
--- /dev/null
+++ b/src/tmpl.html
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<html>
+<head>
+	<meta charset="utf-8" />
+	<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
+	<link href="https://tilde.town/~dzwdz/blog/feed.atom" type="application/atom+xml" rel="alternate"/>
+	<title>$pagetitle$</title>
+	<style>
+body {
+	max-width: 70ch;
+	font-family: sans-serif;
+	line-height: 1.3;
+	margin: 2em auto;
+	padding: 0 1ch;
+}
+
+.sidenote {
+	border: 1px solid currentColor;
+	padding: 1ch;
+	margin: 3em 1ch;
+}
+
+.sidenote > * {
+	margin: 0;
+}
+
+h2, h3 {
+	margin-bottom: 0;
+	margin-top: 1.5em;
+}
+
+header { border-bottom: 1px solid currentColor; }
+h1 { margin: 0; }
+header p {
+	margin: 0;
+	margin-bottom: .5em;
+}
+	</style>
+$for(header-includes)$
+	$header-includes$
+$endfor$
+</head>
+<body>
+<header>
+<h1>$title$</h1>
+<p>
+$if(date)$
+published on <span class="date">$date$</span>
+$endif$
+by <a href="https://tilde.town/~dzwdz/">dzwdz</a>
+</p>
+</header>
+$body$
+</body>
+</html>