0
私は非常にnoob質問があります。私はいくつかのカテゴリからすべての投稿が表示されるページを作成したいと思います。私はいくつかの{%include%}タグを書くべきだと理解していますが、どちらが理解できませんでした。 私が持っている:要約だけでなく、投稿全体を含めます。 Jekyll
{% for post in site.posts %}
<!-- check if post comes from one of page categories-->
{% assign PostAndPageCategories= page.categories | concat: post.categories %}
{% capture all_cat %}{{ PostAndPageCategories | join: "," }}{% endcapture %}
{% capture unique_cat %}{{ PostAndPageCategories |uniq | join: "," }}{% endcapture %}
{% if all_cat != unique_cat %}
<!-- END check if post comes from one of page categories-->
{% include archive-single.html %}
{% endif %}
{% endfor %}
明らかに、このコードは私の体操でポストを示しているが、私は、全体のポストを表示する必要があります。
{% include archive-single.html %}
の変更方法を教えてください。