mirror of
https://github.com/aljazceru/cryptoanarchywiki.github.io.git
synced 2025-12-17 05:04:21 +01:00
Convert to collections and start filling out
This commit is contained in:
17
_includes/index_section.html
Normal file
17
_includes/index_section.html
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
<h2>{{ include.title }}</h2>
|
||||
{% if include.description %}
|
||||
{{ include.description }}
|
||||
{% endif %}
|
||||
<ul>
|
||||
{% assign items = site[include.collection_name] | sort: 'order' %}
|
||||
{% for item in items %}
|
||||
{% if item.external_link == true %}
|
||||
<li><a href="{{ item.external_url }}">{{ item.title }}</a></li>
|
||||
{% elsif item.no_content == true %}
|
||||
<li>{{ item.title }}</li>
|
||||
{% else %}
|
||||
<li><a href="{{ item.permalink }}">{{ item.title }}</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
Reference in New Issue
Block a user