{% extends "main.html" %} {% set type_icons = { 'research': 'πŸ”¬', 'education': 'πŸ”¬', 'advocacy': 'πŸ“’', 'platform': 'πŸ’»', 'civic tech': 'πŸ’»', 'practice': '🀝', 'philanthropy': '🀝', 'cooperative': '🀝', 'party': 'πŸ—³οΈ', 'movement': 'πŸ—³οΈ', 'governance': 'βš–οΈ', 'government': 'βš–οΈ', 'media': 'πŸ“Ί' } %} {% block styles %} {{ super() }} {% endblock %} {% block content %} {{ super() }}
Status
Type
Country
Concepts
{%- for file in pages %} {%- if file.page and file.page.url and file.page.url.startswith('organisations/') and file.page.url != page.url %} {%- set country = file.page.meta.get('country', '') %} {%- set org_type = file.page.meta.get('type', '') %} {%- set website = file.page.meta.get('website', '') %} {%- set contact = file.page.meta.get('contact', {}) or {} %} {%- set concepts = file.page.meta.get('concepts', []) or [] %} {%- set slug = file.page.file.src_path | replace('organisations/', '') | replace('.md', '') %} {%- set ca = org_activity_cache.get(slug) %} {%- set ca_date = (ca.date | string) if ca else '' %} {%- set ca_method = ca.method if ca else '' %} {%- endif %} {%- endfor %}
Name ↕ Type ↕ Country ↕ Status ↕ Last active ↕ Contact Concepts
{%- if file.page.meta.get('logo') %} {%- endif %} {{ file.page.title }} {%- if website and not website.startswith('https://web.archive.org') %} β†— {%- endif %} {{ type_icons.get(org_type, 'πŸ›οΈ') }} {{ org_type }} {{ country }} {{ file.page.meta.get('status', '') }} {%- if ca_date %} {{ ca_date }}{{ ca_method }} {%- else %}β€”{%- endif %} {%- if contact.get('email') %}{{ contact.get('email') }}{%- endif %} {%- if contact.get('phone') %}{{ contact.get('phone') }}{%- endif %} {%- if contact.get('form') %}Contact form β†—{%- endif %} {%- for ch in contact.get('channels', []) or [] %} {{ ch.label or ch.type | capitalize }} β†— {%- endfor %} {%- if not contact.get('email') and not contact.get('phone') and not contact.get('form') and not contact.get('channels') %}β€”{%- endif %} {%- for c in concepts %} {{ c | replace('-', ' ') | title }} {%- endfor %}
{% endblock %}