Templates refactoring
Inject HTML directly and fix footer out of main content <div>
This commit is contained in:
@@ -128,7 +128,6 @@ body {
|
||||
<div class="content">
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<p>
|
||||
<strong>zero2prod</strong>
|
||||
@@ -141,5 +140,6 @@ body {
|
||||
</p>
|
||||
<p class="unsubscribe">You're receiving this because you subscribed to the zero2prod newsletter.</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
{% extends "base.html" %}
|
||||
{% block content %}{{ html_content }}{% endblock %}
|
||||
{% block content %}{{ html_content|safe }}{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user