date-poll-api/templates/email-base.html.twig

39 lines
824 B
Twig
Raw Normal View History

2020-04-10 17:19:18 +02:00
<div class="email">
<style>
html, body, main, header, footer, div {
font-family: "Open Sans", "Helvetica Neue", sans-serif;
}
.email{
padding: 1em;
}
.footer-content{
background: #ccc;
}
ul {
border-left: 3px solid #ddd;
}
</style>
<header>
{% block title %}
{% if title is defined %}
<h1>{{ title }}</h1>
{% else %}
<h1>Framadate - email</h1>
{% endif %}
<hr>
{% endblock %}
</header>
<main>
{% block content %}
{% endblock %}
</main>
<footer>
{% block footer %}
{% include 'emails/footer.html.twig' %}
{% endblock %}
</footer>
</div>