{% assign posts = posts | getPopularPosts: analytics %} {% if posts.size > 0 %} {% endif %}