about summary refs log tree commit diff
path: root/tpl
diff options
context:
space:
mode:
author1970-01-01 00:00:00 +0000
committer2025-02-04 05:36:31 +0000
commit1cff99cbe3656637b58d0bb2b0086476aa49ac2e (patch)
tree18b681547afdde16172f9a323f820bed8b952c07 /tpl
parenterr (diff)
downloadw-1cff99cbe3656637b58d0bb2b0086476aa49ac2e.tar
w-1cff99cbe3656637b58d0bb2b0086476aa49ac2e.tar.gz
w-1cff99cbe3656637b58d0bb2b0086476aa49ac2e.tar.bz2
w-1cff99cbe3656637b58d0bb2b0086476aa49ac2e.tar.xz
w-1cff99cbe3656637b58d0bb2b0086476aa49ac2e.zip
nift
Diffstat (limited to 'tpl')
-rw-r--r--tpl/foot.tpl3
-rw-r--r--tpl/head.tpl5
-rw-r--r--tpl/main.tpl17
3 files changed, 25 insertions, 0 deletions
diff --git a/tpl/foot.tpl b/tpl/foot.tpl
new file mode 100644
index 0000000..8ab170f
--- /dev/null
+++ b/tpl/foot.tpl
@@ -0,0 +1,3 @@
+</div><div id="f">
+<p>Made by <a href="@pathtofile($[output-dir])">PORTER SWANSTROM</a></p>
+</div></div>
diff --git a/tpl/head.tpl b/tpl/head.tpl
new file mode 100644
index 0000000..a1717f8
--- /dev/null
+++ b/tpl/head.tpl
@@ -0,0 +1,5 @@
+<img src="@pathtofile($[output-dir]i/me.png)" alt="photo of myself" />
+<h1>Porter Swanstrom</h1><br />
+<a href="@pathtofile($[output-dir])">HOME</a> :
+<a href="@pathtofile($[output-dir]p)">PROJECTS</a> :
+<a href="@pathtofile($[output-dir]w)">ABOUT</a>
diff --git a/tpl/main.tpl b/tpl/main.tpl
new file mode 100644
index 0000000..d3c798d
--- /dev/null
+++ b/tpl/main.tpl
@@ -0,0 +1,17 @@
+<!doctype html><html lang="en"><head>
+<meta http-equiv="content-type"
+ content="text/html;charset=utf-8" />
+<meta name="viewport"
+ content="width=device-width,initial-scale=1" />
+<link rel="stylesheet" type="text/css" href="@pathtofile($[output-dir]s/m.css)" />
+<link rel="icon" type="image/png" href="@pathtofile($[output-dir]i/me.png)" />
+<title>$[title]</title></head><body>
+<div id="m"><div id="h">
+
+@input(tpl/head.tpl)
+
+</div><div id="b">
+
+@content()
+
+@input(tpl/foot.tpl)</body></html>