Move pages, remove the page content type
This commit is contained in:
parent
371a596cd9
commit
e4a779fc45
36 changed files with 5 additions and 5 deletions
|
@ -1,47 +0,0 @@
|
|||
---
|
||||
title: The Daily Drupaler
|
||||
meta:
|
||||
title: The Daily Drupaler - Daily Software Development Thoughts and Tips | %site.name%
|
||||
description: |-
|
||||
Daily Software Development Thoughts and Tips by %site.name%.
|
||||
generator: pagination
|
||||
pagination:
|
||||
max_per_page: 30
|
||||
provider: data.daily_emails
|
||||
use:
|
||||
- daily_emails
|
||||
---
|
||||
|
||||
{% block content %}
|
||||
{% set daily_emails = data.daily_emails|filter((email) => email.date <= 'now'|date) %}
|
||||
|
||||
<p>This is an archive of the {{ daily_emails|length|number_format }} email messages I have sent to <a href="/daily">my daily mailing list</a> since the 12th of August, 2022. Enjoy!</p>
|
||||
|
||||
<div class="mt-6 space-y-16">
|
||||
<div>
|
||||
<ul>
|
||||
{% for email in page.pagination.items %}
|
||||
<li>
|
||||
<a href="{{ email.url }}">
|
||||
{{ email.date|date('jS F Y') }}:
|
||||
{{ email.title }}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{% if page.pagination.previous_page or page.pagination.next_page %}
|
||||
<nav class="flex justify-center pt-10 space-x-6">
|
||||
{% if page.pagination.previous_page %}<a href="{{ site.url }}{{ page.pagination.previous_page.url }}">← Newer Posts{% endif %}<br />
|
||||
{% if page.pagination.next_page %}<a href="{{ site.url }}{{ page.pagination.next_page.url }}">Older Posts →</a>{% endif %}<br />
|
||||
</nav>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block content_bottom %}
|
||||
{% include 'daily-email-form.html.twig' %}
|
||||
|
||||
{% include 'about-me.html.twig' %}
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue