we've got a website, sorta!
This commit is contained in:
parent
7680a174fc
commit
6c94a346c4
10 changed files with 314 additions and 3 deletions
15
templates/base.html
Normal file
15
templates/base.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
{% from 'utils.html' import root with context -%}
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="color-scheme" content="dark">
|
||||
<title>{% if title %}{{ title }} - {% else %}{% endif %}DLibrary</title>
|
||||
<link rel="stylesheet" type="text/css" href="{{ root() }}static/dlibrary.css">
|
||||
{% block head %}{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
{% block body required %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue