{% if controller.smart_phone? %}
デイリーランキング
{% assign articles = site.daily_popular_articles | limit: 200 %}
{% paginate articles per 25 %}
{% for article in paginate.collection %}
-
{{ article.title | truncate:40 }}
{{ article.num_views | format_number }}
{{ article.category.name }}
{% endfor %}
{% endpaginate %}
{% else %}
デイリーランキング
{% assign articles = site.daily_popular_articles | limit: 200 %}
{% paginate articles per 20 %}
{% for article in paginate.collection %}
-
-
{{ article.title }}
{{ article.description }}
{{ article.num_views | format_number }}
{{ article.category.name }}
{% endfor %}
{% endpaginate %}
{% endif %}