Templates refactoring
Inject HTML directly and fix footer out of main content <div>
This commit is contained in:
@@ -128,18 +128,18 @@ body {
|
||||
<div class="content">
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<p>
|
||||
<strong>zero2prod</strong>
|
||||
<br>
|
||||
Building better backends with Rust
|
||||
</p>
|
||||
<p>
|
||||
<a href="{{ base_url }}">Visit the blog</a> •
|
||||
<a href="{{ base_url }}/unsubscribe?token=UNSUBSCRIBE_TOKEN">Unsubscribe</a>
|
||||
</p>
|
||||
<p class="unsubscribe">You're receiving this because you subscribed to the zero2prod newsletter.</p>
|
||||
<div class="footer">
|
||||
<p>
|
||||
<strong>zero2prod</strong>
|
||||
<br>
|
||||
Building better backends with Rust
|
||||
</p>
|
||||
<p>
|
||||
<a href="{{ base_url }}">Visit the blog</a> •
|
||||
<a href="{{ base_url }}/unsubscribe?token=UNSUBSCRIBE_TOKEN">Unsubscribe</a>
|
||||
</p>
|
||||
<p class="unsubscribe">You're receiving this because you subscribed to the zero2prod newsletter.</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user