mirror of
https://github.com/clockworkpi/wiki.clockworkpi.com.git
synced 2026-03-19 18:32:43 +01:00
First version
This commit is contained in:
7
_includes/functions/wiki-pages.html
Normal file
7
_includes/functions/wiki-pages.html
Normal file
@@ -0,0 +1,7 @@
|
||||
{% assign wiki_pages = '' | split: '' %}
|
||||
{% for collection in site.collections %}
|
||||
{% assign prefix = collection.label | slice: 0, 4 %}
|
||||
{% if prefix == 'wiki' %}
|
||||
{% assign wiki_pages = wiki_pages | concat: collection.docs %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user