From 502887ad611f4c38b838da33ad84eee4fa9c5990 Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Sun, 7 Dec 2025 17:19:19 +0100 Subject: [PATCH] vault backup: 2025-12-07 17:19:19 --- wip/templates/base.html | 31 ------------------------------- wip/templates/base.jinja2 | 17 +++++++++++++++++ wip/templates/image.jinja2 | 0 wip/templates/note.jinja2 | 20 ++++++++++++++++++++ wip/templates/pdf.jinja2 | 5 +++++ 5 files changed, 42 insertions(+), 31 deletions(-) delete mode 100644 wip/templates/base.html create mode 100644 wip/templates/base.jinja2 create mode 100644 wip/templates/image.jinja2 create mode 100644 wip/templates/note.jinja2 create mode 100644 wip/templates/pdf.jinja2 diff --git a/wip/templates/base.html b/wip/templates/base.html deleted file mode 100644 index 1ffc3cb..0000000 --- a/wip/templates/base.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - {{note.title}} - - - - -
-

{{note.title}}

- -{{note.our_content | markdown}} -
- - - \ No newline at end of file diff --git a/wip/templates/base.jinja2 b/wip/templates/base.jinja2 new file mode 100644 index 0000000..a456831 --- /dev/null +++ b/wip/templates/base.jinja2 @@ -0,0 +1,17 @@ + + + + + + {% block title %}WIP{% endblock %} + + + + +
+{% block content %}{% endblock %} +
+ +{% block scripts %}{% endblock %} + + \ No newline at end of file diff --git a/wip/templates/image.jinja2 b/wip/templates/image.jinja2 new file mode 100644 index 0000000..e69de29 diff --git a/wip/templates/note.jinja2 b/wip/templates/note.jinja2 new file mode 100644 index 0000000..0e17211 --- /dev/null +++ b/wip/templates/note.jinja2 @@ -0,0 +1,20 @@ +{% extends 'base.html' %} +{% block title %}{{note.title}}{% endblock %} +{% block content %} +

{{note.title}}

+ +{{note.our_content | markdown}} +{% endblock %} diff --git a/wip/templates/pdf.jinja2 b/wip/templates/pdf.jinja2 new file mode 100644 index 0000000..837fad4 --- /dev/null +++ b/wip/templates/pdf.jinja2 @@ -0,0 +1,5 @@ +{% extends "base.html" %} +{% block title %}{{filename}}{% endblock %} +{% block content %} +TODO: pdf.js +{% endblock %}