{% extends "base.html" %} {% block styles %} {{ super() }} {% endblock %} {% block header %} {{ super() }} {% if page.repo_url %} {% endif %} {% endblock %} {% block announce %} {%- set announcements = config.extra.announcements | default([]) -%} {%- if announcements | length > 0 -%}
{%- for item in announcements -%} {%- if item.groupname is defined and item.groupname | trim | lower == "coordination" and item.enabled -%} {%- set text = item.message | default("") | trim -%} {%- set url = item.url | default("#") | trim -%} {%- if item.icon %}{% include ".icons/lucide/" ~ item.icon ~ ".svg" %}{% endif -%} Coordination: {{ text[:42] ~ ("…" if text | length > 42 else "") }} {%- if url and url != "#" %}Learn more{% endif -%} {%- endif -%} {%- endfor -%}
{%- for item in announcements -%} {%- if item.enabled and (item.groupname is undefined or item.groupname | trim | lower != "coordination") -%} {%- set group = item.groupname | default("Update") | trim -%} {%- set text = item.message | default("") | trim -%} {%- set url = item.url | default("#") | trim -%} {%- if item.icon %}{% include ".icons/lucide/" ~ item.icon ~ ".svg" %}{% endif -%} {{ group }}: {{ text[:40] ~ ("…" if text | length > 40 else "") }} {%- if url and url != "#" %}{% endif -%} {%- endif -%} {%- endfor -%} {%- for item in announcements -%} {%- if item.enabled and (item.groupname is undefined or item.groupname | trim | lower != "coordination") -%} {%- set group = item.groupname | default("Update") | trim -%} {%- set text = item.message | default("") | trim -%} {%- set url = item.url | default("#") | trim -%} {%- if item.icon %}{% include ".icons/lucide/" ~ item.icon ~ ".svg" %}{% endif -%} {{ group }}: {{ text[:40] ~ ("…" if text | length > 40 else "") }} {%- if url and url != "#" %}{% endif -%} {%- endif -%} {%- endfor -%}
{%- endif -%} {% endblock %} {% block extrahead %} {{ super() }} {% set jetmet = config.extra.jetetmiss %} {% endblock %} {% block scripts %} {{ super() }} {% endblock %} {% block hero %} {% if page.meta is defined and 'hero' in page.meta %} {% endif %} {% endblock %} {% block content %} {{ super() }} {% endblock %}