Files
zero2prod/templates/email/new_post.html
Alphonse Paix 72fa283a6d
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
Unsubscribe link in emails sent
2025-09-22 01:25:36 +02:00

21 lines
799 B
HTML

{% extends "base.html" %}
{% block title %}New post available: {{ post_title }}{% endblock %}
{% block content %}
<p>Hello there!</p>
<p>I just published a new post that I think you'll find interesting:</p>
<div class="post-preview">
<h2 class="post-title">{{ post_title }}</h2>
{% if !post_excerpt.is_empty() %}<p class="post-excerpt">{{ post_excerpt }}</p>{% endif %}
</div>
<a href="{{ base_url }}/posts/{{ post_id }}" class="cta-button">Read the full post →</a>
<p>
This post covers practical insights and real-world examples that I hope will be valuable for your backend development journey.
</p>
<p>Thanks for being a subscriber!</p>
<p>
Best regards,
<br>
<strong>Alphonse</strong>
</p>
{% endblock %}