두 제품을 반복합니다. 첫 번째 제품 페이지에서 잘 분석하는 보조 게시물 (예 : 관련 제조법)을 가져옵니다. 두 번째 제품 페이지에서 파싱합니다 제품 페이지 {{ post.content }}
은 구문 분석하지 않습니다. 나는 {{ post.content | markdownify }}
으로 해킹 할 수 있습니다. 그러나 그것이 왜 파괴되는지 알고 싶습니다.Jekyll 루프가 두 번째 반복에서 중단됩니다.
{% for post in site.categories.recipe %}
{% if post.products contains page.title and post.featured %}
<div class="row">
<div class="four columns">
<h4>{{ post.title }}</h4>
<ul>
<li>Serves {{ post.serves }}</li>
<li>Prep: {{ post.time }}</li>
<li><a href=" ">Share</a></li>
</ul>
{{ post.content }}
...
<!-- All tags are closed, the rest just isn't relevant -->
{% endif %}
{% endfor %}