summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--_layouts/home.html4
2 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e12d819..5102e6d 100644
--- a/Makefile
+++ b/Makefile
@@ -15,3 +15,7 @@ make_push_to_server: production
watch:
bundle exec jekyll serve -l --drafts
+ipfs:
+ rm -f ipfs.tar
+ JEKYLL_ENV=ipfs bundle exec jekyll build
+ cd _site && cp all.html index.html && tar cvf ../ipfs.tar $$(grep -L redirect *.html) assets index.html
diff --git a/_layouts/home.html b/_layouts/home.html
index dddeab2..675c4da 100644
--- a/_layouts/home.html
+++ b/_layouts/home.html
@@ -23,8 +23,8 @@ layout: default
</a>
</h3>
</div>
- {%- if site.show_excerpts -%}
- {{ post.excerpt }}
+ {%- if jekyll.environment == 'ipfs' -%}
+ {{ post.content }}
{%- endif -%}
</li>
{%- endfor -%}