From 483cf014d6131c7ba66c019decc8e1972d1659dc Mon Sep 17 00:00:00 2001 From: wiwiec Date: Sat, 11 Feb 2017 14:58:01 +0100 Subject: [PATCH] fixed config option reference; --- atom.xml | 2 +- rss2.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/atom.xml b/atom.xml index 321cece..05fe531 100644 --- a/atom.xml +++ b/atom.xml @@ -30,7 +30,7 @@ {% elif post.excerpt %} {{ post.excerpt }} {% elif post.content %} - {{ post.content.substring(0, config.content_limit) }} + {{ post.content.substring(0, config.feed.content_limit) }} {% endif %} {% for category in post.categories.toArray() %} diff --git a/rss2.xml b/rss2.xml index f2f9732..0b0cfcc 100644 --- a/rss2.xml +++ b/rss2.xml @@ -22,7 +22,7 @@ {% elif post.excerpt %} {{ post.excerpt }} {% elif post.content %} - {{ post.content.substring(0, config.content_limit) }} + {{ post.content.substring(0, config.feed.content_limit) }} {% endif %} {% if config.feed.content and post.content %}