Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions atom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ layout:
{% include away_mode.html %}
{% endif %}

{% if post.todayInOneSentence and post.todayInOneSentence != '' %}
<p><em><strong>Today in one sentence</strong>: {{ post.todayInOneSentence }}</em></p>
{% endif %}

{{ post.content | xml_escape }}

<p><strong>Support today's essential newsletter and resist the daily shock and awe:</strong> <a href="{{ site.url }}{{ site.baseurl }}/membership">Become a member</a> </p>
Expand Down
9 changes: 8 additions & 1 deletion rss.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,21 @@ layout:
{% for post in site.posts limit:50 %}
<item>
<title>{{ post.title | xml_escape }}: {{ post.description | xml_escape }}</title>
{% assign desc = post.content %}
{% if post.todayInOneSentence and post.todayInOneSentence != '' %}
{% assign desc = post.todayInOneSentence %}
{% endif %}
<description>
<![CDATA[{{ post.content | strip_html | truncate: 250 }} <p><strong>Subscribe:</strong> <a href="{{ site.url }}{{ site.baseurl }}/subscribe/" target="_blank">Get the Daily Update in your inbox for free</a></p>]]>
<![CDATA[{{ desc | strip_html | truncate: 250 }} <p><strong>Subscribe:</strong> <a href="{{ site.url }}{{ site.baseurl }}/subscribe/" target="_blank">Get the Daily Update in your inbox for free</a></p>]]>
</description>
<content:encoded>
<![CDATA[<img src="{{ site.url }}{{ site.baseurl }}{{ post.image }}"/>
{% if site.is_away_mode == true %}
{% include away_mode.html %}
{% endif %}
{% if post.todayInOneSentence and post.todayInOneSentence != '' %}
<p><em><strong>Today in one sentence</strong>: {{ post.todayInOneSentence }}</em></p>
{% endif %}
{{ post.content }} <p><strong>Subscribe:</strong> <a href="{{ site.url }}{{ site.baseurl }}/subscribe/" target="_blank">Get the Daily Update in your inbox for free</a></p><p><strong>Support today's essential newsletter and resist the daily shock and awe:</strong> <a href="{{ site.url }}{{ site.baseurl }}/membership">Become a member</a></p>]]>
</content:encoded>
<author>{{ site.author.email }} ({{ site.author.name }})</author>
Expand Down