mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-09-12 21:03:32 -06:00
Updated doc_collections format
This commit is contained in:
@@ -17,7 +17,8 @@ permalink: /assets/js/search-data.json
|
||||
{%- assign pages_array = pages_array | push: site.html_pages -%}
|
||||
{%- if site.doc_collections -%}
|
||||
{%- for doc_collection in site.doc_collections -%}
|
||||
{%- assign collection = site[doc_collection.collection] -%}
|
||||
{% assign collection_name = doc_collection[0] %}
|
||||
{% assign collection = site[collection_name] %}
|
||||
{%- assign pages_array = pages_array | push: collection -%}
|
||||
{%- endfor -%}
|
||||
{%- endif -%}
|
||||
|
Reference in New Issue
Block a user