-
Notifications
You must be signed in to change notification settings - Fork 350
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Limit the RSS feed to 15 entries (#1999)
* Limit the RSS feed to 15 entries * Limit to last entry to test inoreader * Revert "Limit to last entry to test inoreader" This reverts commit d15810b.
- Loading branch information
1 parent
58f4380
commit b8a1314
Showing
2 changed files
with
30 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{% macro entry(page) %} | ||
<entry xml:lang="{{ page.lang }}"> | ||
<title>{{ page.title }}</title> | ||
<published>{{ page.date | date(format="%+") }}</published> | ||
<updated>{{ page.updated | default(value=page.date) | date(format="%+") }}</updated> | ||
<author> | ||
<name> | ||
{%- if page.authors -%} | ||
{{ page.authors[0] }} | ||
{%- elif config.author -%} | ||
{{ config.author }} | ||
{%- else -%} | ||
Unknown | ||
{%- endif -%} | ||
</name> | ||
</author> | ||
<link rel="alternate" href="{{ page.permalink | safe }}" type="text/html"/> | ||
<id>{{ page.permalink | safe }}</id> | ||
<content type="html">{{ page.content }}</content> | ||
</entry> | ||
{% endmacro %} |