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