Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add base HTML for email templates

Anna Siwik1caf2650edbe
diff --git a/templates/templated_email/html/base.html b/templates/templated_email/html/base.html
new file mode 100644
index 0000000000..b789a0e0d7
--- /dev/null
+++ b/templates/templated_email/html/base.html
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+{% load staticfiles %}
+{% load i18n %}
+
+<html class="no-js">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <meta name="viewport" content="width=device-width" />
+ </head>
+ <body>
+ <table>
+ <tfoot>
+ <tr>
+ <td>
+ <footer>
+ {% block footer %}
+ {% endblock footer %}
+ </footer>
+ </td>
+ </tr>
+ </tfoot>
+ <thead>
+ <tr>
+ <td>
+ <header>
+ {% block header %}
+ {% endblock header %}
+ </header>
+ </td>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ <main>
+ {% block content %}
+ {% endblock content %}
+ </main>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </body>
+</html>