_includes/collection-index.html in phantom-blergh-0.1.4 vs _includes/collection-index.html in phantom-blergh-0.1.5
- old
+ new
@@ -1,8 +1,8 @@
<h1>{{ include.collection.label | capitalize }}</h1>
-{% assign docs = include.collection.docs | where: 'draft', false %}
+{% assign docs = include.collection.docs %}
<section class="collection-index">
{% if docs.size == 0 %}
<p>No {{ include.collection.label }} found.</p>
{% else %}
{% for item in docs %}
@@ -10,10 +10,10 @@
<pre><code>
{{ item | inspect }}
</pre></code>
{% endcomment %}
<article{% cycle '', ' class="alternate"' %}>
- <a href="{{ item.url | relative_url }}">
+ <a href="{{ item.url | relative_url }}" rel="noopener">
<h2>{{ item.title | escape }} →</h2>
<div class="content">
{{ item.excerpt }}
</div>
</a>