diff options
author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2020-11-16 08:46:37 +0100 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2020-11-16 08:46:37 +0100 |
commit | 74f9c6a49fad7fd6dba3d56ec525dc6ece1894d1 (patch) | |
tree | 2a58c36e3e201eee6f6f7bbe10cabb083d26dd08 /templates/web/entry.html | |
parent | d856f5bd3d79c92d01336b9cb28548f28c71a56b (diff) |
Basic template from lesanaweb, to improve upon
Diffstat (limited to 'templates/web/entry.html')
-rw-r--r-- | templates/web/entry.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/web/entry.html b/templates/web/entry.html new file mode 100644 index 0000000..df641d0 --- /dev/null +++ b/templates/web/entry.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} + +{% block title %}{{ entry }}{% endblock %} + +{% block content %} + <header> + <h1>{{ settings.name }}</h1> + <nav><a href="{{ url_for('index') }}">home</a></nav> + </header> + <h3>{{ entry }}</h3> + <dl> + {% for k,v in entry.data.items() %} + <dt>{{ k }}</dt> + <dd>{{ v }}</dd> + {% endfor %} + </dl> +{% endblock %} + |