summaryrefslogtreecommitdiff
path: root/project/templates/base.xhtml
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2021-11-26 20:17:43 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2021-11-26 20:17:43 +1300
commit14025d22ce3d66c9d235e57221ec4653e00f972c (patch)
treedac7c0f2cd22007aa1c396b460a1f2d90445a4d3 /project/templates/base.xhtml
parent03ea6ba48bfbb25dc74a0a369b5aa15bf10e91b9 (diff)
Switched to .xhtml extension, fixed some minor bugs
Diffstat (limited to 'project/templates/base.xhtml')
-rw-r--r--project/templates/base.xhtml36
1 files changed, 36 insertions, 0 deletions
diff --git a/project/templates/base.xhtml b/project/templates/base.xhtml
new file mode 100644
index 0000000..a05e26b
--- /dev/null
+++ b/project/templates/base.xhtml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC
+ "-//W3C//DTD XHTML 1.1//EN"
+ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
+<head>
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <title>{% block title %}{% endblock %}</title>
+ <link href="/favicon.ico" rel="icon" type="image/x-icon" />
+ <link href="/css/default.css" rel="stylesheet" />
+{%- block style -%}
+{%- endblock -%}
+</head>
+<body>
+ <div class="white">
+ <h2>Jedidiah Barber's Personal Site</h2>
+ <hr />
+ <div class="nav">
+ <ul>
+ <li><a href="/">Index</a></li>
+ <li><a href="/about.xhtml">About</a></li>
+ <li><a href="/tags.xhtml">Tags</a></li>
+ <li><a href="/cgi-bin/cgit.cgi">Git</a></li>
+ <li><a href="/links.xhtml">Links</a></li>
+ </ul>
+ </div>
+ <hr />
+ <div class="article">
+{% block content -%}
+{%- endblock %}
+ </div>
+ <hr />
+ </div>
+</body>
+</html>
+