diff options
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 %} |
