+ {% include 'nav.html' %}
+ {# check flashes #}
+ {% with messages = get_flashed_messages() %}
+ {% if messages %}
+ {% for message in messages %}
+
{{ message }}
+ {% endfor %}
+ {% endif %}
+ {% endwith %}
+
+
+{% endblock %}
diff --git a/templates/layout.html b/templates/layout.html
new file mode 100644
index 0000000..b7a2d7b
--- /dev/null
+++ b/templates/layout.html
@@ -0,0 +1,12 @@
+
+
+
+
+
+ {% block title %}{% endblock %}
+
+
+
+ {% block content %}{% endblock %}
+
+
\ No newline at end of file
diff --git a/templates/markdown.html b/templates/markdown.html
new file mode 100644
index 0000000..5490cbc
--- /dev/null
+++ b/templates/markdown.html
@@ -0,0 +1,17 @@
+{% extends 'layout.html' %}
+{% block content %}
+
+ {% include 'nav.html' %}
+
+
+
{{ file|markdown|safe}}
+
+
+
+
+
+
+
+
+
+{% endblock %}
diff --git a/templates/nav.html b/templates/nav.html
new file mode 100644
index 0000000..85a1132
--- /dev/null
+++ b/templates/nav.html
@@ -0,0 +1,8 @@
+
\ No newline at end of file