Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
This paste will be private.
<h3>Archives</h3> <p>This would be much nicer with jamis' month_drop thingy.</p> {{ '' | section | months | assign_to: 'home_section' }} <ul> {% for month in home_section.months %} {{ home_section | monthly_articles: month | size | assign_to: 'articles_count' }} {% if articles_count > 0 %} <li>{{ home_section | link_to_month: month }} ({{ articles_count }})</li> {% endif %} {% endfor %} </ul>
From the Design Piracy series on my blog: