From f1e3f2c3cb3b7543182a35253475c038bfb5226b Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Fri, 26 Jul 2019 00:28:58 -0400 Subject: Add archive.html as an index of all posts (without pagination) --- _includes/post-stub.html | 2 +- all.html | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 all.html diff --git a/_includes/post-stub.html b/_includes/post-stub.html index 6cb2ed2..d9ace7c 100644 --- a/_includes/post-stub.html +++ b/_includes/post-stub.html @@ -14,7 +14,7 @@ {% endif %} - {% if include.post._url %} + {% if include.post._url or include.no_excerpt %} {% else %} {{ include.post.excerpt }} {% endif %} diff --git a/all.html b/all.html new file mode 100644 index 0000000..5ae0cf7 --- /dev/null +++ b/all.html @@ -0,0 +1,11 @@ +--- +layout: page +title: Archive +--- + +
+ {% for post in site.posts %} + {% include post-stub.html post=post no_excerpt=true %} + {% endfor %} +
+
-- cgit v1.2.3