diff --git a/index.html b/index.html index feb5450..fb3a770 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,11 @@ layout: base title: Home --- -{% assign all_entries = site.blog | concat: site.posts | concat: site.links | concat: site.private | sort: "date" %} +{% if jekyll.environment == "local" %} + {% assign all_entries = site.blog | concat: site.posts | concat: site.links | concat: site.private | sort: "date" %} +{% else %} + {% assign all_entries = site.blog | concat: site.posts | concat: site.links | sort: "date" %} +{% endif %}
{% include post_index.html posts=all_entries %}