Show this week's sent emails
This commit is contained in:
parent
391cdfabb4
commit
f79cf2090b
13
source/_includes/daily-emails/most-recent.html.twig
Normal file
13
source/_includes/daily-emails/most-recent.html.twig
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<h2>{{ title }}</h2>
|
||||||
|
|
||||||
|
<p>Here are the emails I sent this week:</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
{% for email in emails %}
|
||||||
|
<li><a href="{{ email.url }}">{{ email.title }}</a></li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</section>
|
|
@ -4,12 +4,25 @@ meta:
|
||||||
title: The Daily Drupaler - Daily Software Development Thoughts and Tips | %site.name%
|
title: The Daily Drupaler - Daily Software Development Thoughts and Tips | %site.name%
|
||||||
description: |-
|
description: |-
|
||||||
Daily software development thoughts and tips by %site.name%.
|
Daily software development thoughts and tips by %site.name%.
|
||||||
|
use: [daily_emails]
|
||||||
---
|
---
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
Subscribe to my daily newsletter for software professionals on software development and delivery, Drupal, DevOps, community, and open-source.
|
Subscribe to my daily newsletter for software professionals on software development and delivery, Drupal, DevOps, community, and open-source.
|
||||||
|
|
||||||
{% include 'daily-email-form.html.twig' %}
|
{% include 'daily-email-form.html.twig' %}
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<h2>Still not sure?</h2>
|
||||||
|
|
||||||
|
<p>These are the emails I sent this week:</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
{% for email in data.daily_emails[:7] %}
|
||||||
|
<li><a href="{{ email.url }}">{{ email.title }}</a></li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content_bottom %}
|
{% block content_bottom %}
|
||||||
|
|
Loading…
Reference in a new issue