diff --git a/_includes/category.html b/_includes/category.html new file mode 100644 index 0000000..388786b --- /dev/null +++ b/_includes/category.html @@ -0,0 +1,10 @@ +{%- for category in site.categories -%} + {%- if category[0] != page.category -%} + {%- continue -%} + {%- endif -%} + + {% assign posts = category[1] -%} + {%- include posts.html posts = posts -%} + + {%- break -%} +{%- endfor -%} diff --git a/_includes/footer.html b/_includes/footer.html index 5fddc67..d0072cf 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -2,7 +2,7 @@