diff options
| author | yuzu-eva <stevenhu@web.de> | 2024-10-24 23:47:45 +0200 |
|---|---|---|
| committer | yuzu-eva <stevenhu@web.de> | 2024-10-24 23:47:45 +0200 |
| commit | bd24273d096399b96a88574a0033db03739a8d6c (patch) | |
| tree | 0485b0ebf32652b573ac091aa4525796b07fdeb2 /templates | |
| parent | ddf900c6cc70bf88844f79753b7b412d1a31d3b4 (diff) | |
official initial commit
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/index.html.j2 | 4 | ||||
| -rw-r--r-- | templates/template.html.j2 | 15 | ||||
| -rw-r--r-- | templates/thoughts.html.j2 | 5 |
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 %} |
