about summary refs log tree commit diff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html25
-rw-r--r--templates/minimal.html3
-rw-r--r--templates/post.html11
3 files changed, 39 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..30c7a45
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+
+<head>
+	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
+	<meta charset="utf-8" />
+
+	<link rel="icon" type="image/gif" href="/faces/triblur/triblur_94.gif" />
+
+	<title>{title}</title>
+
+	<link rel="stylesheet" href="/styles/common.css" />
+	{%pattern styles}
+	<link rel="stylesheet" href="{style}" />
+	{%end}
+</head>
+
+<body>
+	<ul id="nav-access">
+		<li><a href="#main-content">Skip to main content</a></li>
+	</ul>
+	{%wrapped-content}
+</body>
+
+</html>
\ No newline at end of file
diff --git a/templates/minimal.html b/templates/minimal.html
new file mode 100644
index 0000000..68c3716
--- /dev/null
+++ b/templates/minimal.html
@@ -0,0 +1,3 @@
+{%wrap-include base.html}
+{main}
+{%end}
\ No newline at end of file
diff --git a/templates/post.html b/templates/post.html
new file mode 100644
index 0000000..802b4e1
--- /dev/null
+++ b/templates/post.html
@@ -0,0 +1,11 @@
+{%wrap-include base.html}
+<nav class="sized">
+	{%pattern path}
+	<a id="home" href="{path_link}" alt="home">&larr; {path_name}</a>
+	{%end}
+</nav>
+<main id="main-content" class="writing sized">
+	<h1>{title}</h1>
+	{main}
+</main>
+{%end}
\ No newline at end of file