summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html.j24
-rw-r--r--templates/template.html.j215
-rw-r--r--templates/thoughts.html.j25
3 files changed, 24 insertions, 0 deletions
diff --git a/templates/index.html.j2 b/templates/index.html.j2
new file mode 100644
index 0000000..8257ab2
--- /dev/null
+++ b/templates/index.html.j2
@@ -0,0 +1,4 @@
+{% extends "template.html.j2" %}
+{% block content %}
+ {{ content }}
+{% endblock %}
diff --git a/templates/template.html.j2 b/templates/template.html.j2
new file mode 100644
index 0000000..96f7f9d
--- /dev/null
+++ b/templates/template.html.j2
@@ -0,0 +1,15 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <link rel='stylesheet' href="{{ prefix }}styles/style.css">
+ <title>{{ title }}</title>
+ </head>
+ <body>
+ <div id='wrapper'>
+ <div id='content'>
+ {% block content %}
+ {% endblock %}
+ </div>
+ </div>
+ </body>
+</html>
diff --git a/templates/thoughts.html.j2 b/templates/thoughts.html.j2
new file mode 100644
index 0000000..17b2797
--- /dev/null
+++ b/templates/thoughts.html.j2
@@ -0,0 +1,5 @@
+{% extends "template.html.j2" %}
+{% block content %}
+ <a href='../index.html'>Back to main page</a>
+ {{ content }}
+{% endblock %}