customize index.html for local vs prod environment
This commit is contained in:
parent
a510d7380b
commit
a84179eaf6
@ -3,7 +3,11 @@ layout: base
|
|||||||
title: Home
|
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 %}
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
{% include post_index.html posts=all_entries %}
|
{% include post_index.html posts=all_entries %}
|
||||||
|
Loading…
Reference in New Issue
Block a user