cheatsheets/_includes/2017/pages-list-item.html

12 lines
495 B
HTML

<a class='article item' href="{{base}}{{ include.page.url | remove: '.html' }}">
<code class='slug'>{{ include.page.url | remove: '.html' | remove: '/' }}</code>
{% if include.page.layout == '2017/sheet' %}
<abbr class='attribute-peg -new-layout hint--bottom' data-hint='New layout!'><span></span></abbr>
{% endif %}
{% if include.page.title | downcase != include.page.url | remove: '.html' | remove: '/' %}
<span class='title'>{{ include.page.title }}</span>
{% endif %}
</a>