From a6a910d821b7188a4b0a8c94e492391aed5ae881 Mon Sep 17 00:00:00 2001 From: Boris Mann Date: Fri, 3 Aug 2018 15:44:20 -0700 Subject: [PATCH] Now back to original --- events/_layouts/home.html | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/events/_layouts/home.html b/events/_layouts/home.html index 29f0615..8890dda 100644 --- a/events/_layouts/home.html +++ b/events/_layouts/home.html @@ -1,27 +1,11 @@ --- layout: archive --- -{{ content }} +

{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}

-

Updated Event

- -{% assign sorted = site.events | sort: 'modified' | reverse %} -{% for post in sorted limit:1 %} - {% include event-single.html %} -{% endfor %} - -

{{ site.data.ui-text[site.locale].upcoming_events | default: "Upcoming Events" }}

- -{% assign builddate = now | date: '%s' %} -{% for post in site.events %} - - {% if post.event[start_date] < builddate %} - {% include event-single.html %} - {% endif %} +{% for post in paginator.posts %} + {% include archive-single.html %} {% endfor %} - - \ No newline at end of file +{% include paginator.html %} \ No newline at end of file