Templates refactoring
Some checks failed
Rust / Test (push) Has been cancelled
Rust / Rustfmt (push) Has been cancelled
Rust / Clippy (push) Has been cancelled
Rust / Code coverage (push) Has been cancelled

Inject HTML directly and fix footer out of main content <div>
This commit is contained in:
Alphonse Paix
2025-09-22 01:43:36 +02:00
parent 72fa283a6d
commit 1cc4871dd2
2 changed files with 13 additions and 13 deletions

View File

@@ -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>

View File

@@ -1,2 +1,2 @@
{% extends "base.html" %}
{% block content %}{{ html_content }}{% endblock %}
{% block content %}{{ html_content|safe }}{% endblock %}