diff options
| author | Jokler <jokler@protonmail.com> | 2020-06-23 16:26:07 +0200 |
|---|---|---|
| committer | Jokler <jokler@protonmail.com> | 2020-06-23 16:26:07 +0200 |
| commit | fc7bd403bf41d724bd8dc3bf3b827c592c539171 (patch) | |
| tree | 1b816f68f1793dc8bf70e490196da6ae58d6f16a /templates | |
| download | rgit-master.tar.gz rgit-master.zip | |
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/base.htm | 15 | ||||
| -rw-r--r-- | templates/index.htm | 7 |
2 files changed, 22 insertions, 0 deletions
diff --git a/templates/base.htm b/templates/base.htm new file mode 100644 index 0000000..d557567 --- /dev/null +++ b/templates/base.htm @@ -0,0 +1,15 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <meta http-equiv="X-UA-Compatible" content="ie=edge"> + <link rel="stylesheet" href="/static/css/style.css"> + <title>{% block title %}{{ title }} - xyz {% endblock %}</title> + </head> + <body> + <main> + {% block content %}{% endblock %} + </main> + </body> +</html> diff --git a/templates/index.htm b/templates/index.htm new file mode 100644 index 0000000..300a3cc --- /dev/null +++ b/templates/index.htm @@ -0,0 +1,7 @@ +{% extends "base.htm" %} + +{% block title %}Repositories{% endblock %} + +{% block content %} +{{ text }} +{% endblock %} |
