Move daily emails into the blog page
This commit is contained in:
parent
be69398931
commit
1b8441608f
828 changed files with 9 additions and 196 deletions
|
@ -1,10 +1,9 @@
|
|||
---
|
||||
layout: feed
|
||||
title: The Daily Drupaler
|
||||
description: |-
|
||||
A daily email newsletter about Drupal, software development, DevOps, community, and open-source.
|
||||
title: Oliver Davies
|
||||
description: ~
|
||||
permalink: /rss/drupal-planet.xml
|
||||
use: [daily_emails]
|
||||
use: [posts]
|
||||
---
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
@ -13,15 +12,15 @@ use: [daily_emails]
|
|||
<title>{{ page.title }}</title>
|
||||
<description>{{ page.description }}</description>
|
||||
<link>{{ site.url }}/daily</link>
|
||||
{% for email in data.daily_emails if email.drupal_planet %}
|
||||
{% for post in data.posts if post.drupal_planet %}
|
||||
<item>
|
||||
<title>{{ email.title }}</title>
|
||||
<link>{{ site.url }}{{ email.url }}</link>
|
||||
<guid isPermaLink="true">{{ site.url }}{{ email.url }}</guid>
|
||||
<title>{{ post.title }}</title>
|
||||
<link>{{ site.url }}{{ post.url }}</link>
|
||||
<guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid>
|
||||
<description>
|
||||
{{- email.blocks.content -}}
|
||||
{{- post.blocks.content -}}
|
||||
</description>
|
||||
<pubDate>{{ email.date|date('D, d M Y H:i:s') }} GMT</pubDate>
|
||||
<pubDate>{{ post.date|date('D, d M Y H:i:s') }} GMT</pubDate>
|
||||
</item>
|
||||
{% endfor %}
|
||||
</channel>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue