aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--footer.st9
-rw-r--r--header.st17
-rw-r--r--index.st16
3 files changed, 30 insertions, 12 deletions
diff --git a/footer.st b/footer.st
new file mode 100644
index 0000000..bea2fe1
--- /dev/null
+++ b/footer.st
@@ -0,0 +1,9 @@
+</body>
+</html>
+
+<!--
+Local Variables:
+ mode: html
+ coding: utf-8
+End:
+-->
diff --git a/header.st b/header.st
new file mode 100644
index 0000000..16d1864
--- /dev/null
+++ b/header.st
@@ -0,0 +1,17 @@
+<?xml version="1.0" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>$title$ &mdash; G&ouml;del-Gentzen Clojure Syndication Services Super System</title>
+</head>
+
+<body>
+
+<!--
+Local Variables:
+ mode: html
+ coding: utf-8
+End:
+-->
diff --git a/index.st b/index.st
index e41e9b5..927a70b 100644
--- a/index.st
+++ b/index.st
@@ -1,17 +1,9 @@
-<?xml version="1.0" ?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+$header(title=title)$
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <title>$title$ &mdash; G&ouml;del-Gentzen Clojure Syndication Services Super System</title>
-</head>
+<h1 class="title">$title$</h1>
+<p>$mainParagraph$</p>
-<body>
- <h1 class="title">$title$</h1>
- <p>$mainParagraph$</p>
-</body>
-</html>
+$footer()$
<!--
Local Variables: