diff --git a/easy_pdf/jinja2/easy_pdf/base.html b/easy_pdf/jinja2/easy_pdf/base.html new file mode 100644 index 0000000..bad2cd8 --- /dev/null +++ b/easy_pdf/jinja2/easy_pdf/base.html @@ -0,0 +1,60 @@ +{# jinja port of built-in django template #} + + + + {{ title or "" }} + + {% block style_base %} + {# + See DEFAULT_CSS in https://github.com/chrisglass/xhtml2pdf/blob/master/xhtml2pdf/default.py + for base style. + #} + + {% block layout_style %} + + {%endblock%} + {% block extra_style %}{% endblock %} + {% endblock %} + + +
+ {%block page_header%} + {%endblock%} + + {%block content%} + {%endblock%} +
+ + + +