diff --git a/undercover/templates/base.jinja2 b/undercover/templates/base.jinja2 new file mode 100644 index 0000000..477efe4 --- /dev/null +++ b/undercover/templates/base.jinja2 @@ -0,0 +1,22 @@ + + + + + {% block title %}UnderCover{% endblock title %} + + + + {% block head %}{{ head }}{% endblock head %} + + + + +

+
+

The secret cover letter generator

+{% block content %} + {{ content }} +{% endblock content %} + + + diff --git a/undercover/templates/writing.jinja2 b/undercover/templates/writing.jinja2 index 8858aaa..44e9731 100644 --- a/undercover/templates/writing.jinja2 +++ b/undercover/templates/writing.jinja2 @@ -1,12 +1,8 @@ - - +{% extends "base.jinja2" %} - - UnderCover - - - +{% block title %}UnderCover{% endblock %} +{% block head %} - +{% endblock head %} - - -

-
-

The secret cover letter generator

+{% block content %} {% if username %}

You are logged in as {{ username }}

@@ -99,6 +91,4 @@ {% endif %} >Generate PDF - - - +{% endblock content %}