{% if controller.smart_phone? %} {% assign articles = site.published_articles %} {% paginate articles per 20 %} {% for article in paginate.collection %} {% if article.kinds contains ‘5’ %} {% assign class = ‘buy’ %} {% endif %} 記事を見る {% if article.kinds contains ‘4’ %} {% endif %} {% assign ancestors = article.category.ancestors %} {% assign max_loop = ancestors.size | minus:1 %} {% if ancestors != empty %} {% for i in (0..max_loop) %} {{ ancestors[i].name }} {% endfor %} {% endif %} {{ article.category.name }} {{ article.title }} {% if article.kinds contains ‘5’ %} {% endif %} {% endfor %} {% endpaginate %} {% else %} 最新記事 {% assign articles = site.published_articles %} {% paginate articles per 20 %} {% for article in paginate.collection %} {% if article.kinds contains ‘5’ %} {% assign class = ‘buy’ %} {% endif %} 記事を見る {% if article.kinds contains ‘4’ %} {% endif %} {% if article.kinds contains ‘3’ %} {% endif %} {% assign ancestors = article.category.ancestors %} {% assign max_loop = ancestors.size | minus:1 %} {% if ancestors != empty %} {% for i in (0..max_loop) %} {{ ancestors[i].name }} {% endfor %} {% endif %} {{ article.category.name }} {{ article.title }} {% if article.tags %} {% assign tags = article.tags | limit: 6 %} {% for tag in tags %} {{ tag.name }} {% endfor %} {% endif %} {% if article.kinds contains ‘5’ %} {% endif %} {% endfor %} {% endpaginate %} {% endif %}
記事を見る {% if article.kinds contains ‘4’ %} {% endif %} {% assign ancestors = article.category.ancestors %} {% assign max_loop = ancestors.size | minus:1 %} {% if ancestors != empty %} {% for i in (0..max_loop) %} {{ ancestors[i].name }} {% endfor %} {% endif %} {{ article.category.name }} {{ article.title }} {% if article.kinds contains ‘5’ %} {% endif %}
記事を見る {% if article.kinds contains ‘4’ %} {% endif %} {% if article.kinds contains ‘3’ %} {% endif %} {% assign ancestors = article.category.ancestors %} {% assign max_loop = ancestors.size | minus:1 %} {% if ancestors != empty %} {% for i in (0..max_loop) %} {{ ancestors[i].name }} {% endfor %} {% endif %} {{ article.category.name }} {{ article.title }} {% if article.tags %} {% assign tags = article.tags | limit: 6 %} {% for tag in tags %} {{ tag.name }} {% endfor %} {% endif %} {% if article.kinds contains ‘5’ %} {% endif %}