remove limit to posts

This commit is contained in:
Basspistol DeployBot 2021-05-30 09:32:46 +02:00
parent d01c307c5c
commit 04ec16936a

View file

@ -15,7 +15,7 @@
<atom:link href="{{ site.url }}/{{ page.path }}" rel="self" type="application/rss+xml" /> <atom:link href="{{ site.url }}/{{ page.path }}" rel="self" type="application/rss+xml" />
<lastBuildDate>{% for post in site.data.wim limit:1 %}{{ post.date | date_to_rfc822 }}{% endfor %}</lastBuildDate> <lastBuildDate>{% for post in site.data.wim limit:1 %}{{ post.date | date_to_rfc822 }}{% endfor %}</lastBuildDate>
{% assign feed_items = site.feed_items | default: 10 %} {% assign feed_items = site.feed_items | default: 10 %}
{% for post in site.data.wim limit:feed_items %} {% for post in site.data.wim %}
{% assign sitetimexml = site.time | date: "%s" %} {% assign sitetimexml = site.time | date: "%s" %}
{% assign now = post.date | date: "%s" %} {% assign now = post.date | date: "%s" %}
{% if now <= sitetimexml %} {% if now <= sitetimexml %}