_layouts/spec-index.html in jekyll-theme-open-project-1.0.0.rc5 vs _layouts/spec-index.html in jekyll-theme-open-project-1.0.2
- old
+ new
@@ -1,18 +1,18 @@
---
layout: default
---
{% if site.is_hub %}
- {% include index-page-item-filter.html url_tag_prefix="/specs/" items=page.items tag=page.tag %}
+ {% include index-page-item-filter.html url_tag_prefix="/specs/" items=site.all_specs tag=page.tag %}
{% endif %}
<section class="items">
{% if site.is_hub %}
{% include assets/symbol.svg %}
{% endif %}
- {% for spec in page.items %}
+ {% for spec in site.all_specs %}
{% if site.is_hub %}
{% assign project_name = spec.url | split: "/" | slice: 2 | first %}
{% assign project_index_path = "_projects/" | append: project_name | append: "/index.md" %}
{% assign project = site.projects | where: "path", project_index_path | first %}