{% extends "base.html" %} {% from "macros/tag-links.html" import tag_links with context %} {% from "macros/feed-links.html" import feed_autodiscovery, visible_feed_links with context %} {% block feed_head %} {% if this._id in ['articles', 'blog'] %} {% set feed_base = 'https://www.labyricorn.com/' ~ this._id ~ '/' %} {{ feed_autodiscovery(feed_base ~ 'feed.xml', feed_base ~ 'rss.xml', 'Labyricorn - ' ~ this.title) }} {% endif %} {% endblock %} {% block body %} {% set filter_tags = namespace(values=[]) %} {% if this._id in ['blog', 'articles', 'projects'] %} {% for item in this.children %} {% set item_tags = item.taxonomy_tags if item._model == 'project' else item.tags %} {% for tag in item_tags %} {% if tag not in filter_tags.values %}{% set filter_tags.values = filter_tags.values + [tag] %}{% endif %} {% endfor %} {% endfor %} {% endif %} {% if this._id in ['blog', 'articles', 'projects'] %} {% set hero_copy = { 'projects': { 'eyebrow': 'System Architecture', 'slash': 'Built to solve', 'intro': 'Systems, tools, experiments, and working software engineered from idea through implementation.', 'chips': [('Modular', 'architecture'), ('Active', 'development'), ('Documented', 'progress')] }, 'articles': { 'eyebrow': 'Intelligence Briefing', 'slash': 'Analysis & Insight', 'intro': 'In-depth analysis, real context, and actionable insight across technology, systems, security, and the work behind the work.', 'chips': [('Curated', 'research'), ('Verified', 'context'), ('Published', 'analysis')] }, 'blog': { 'eyebrow': 'Transmission / Live Feed', 'slash': 'Signal', 'intro': 'Raw thoughts, quick observations, experiments, and ideas transmitted before they become polished conclusions.', 'chips': [('Live', 'thoughts'), ('Direct', 'signal'), ('Unfiltered', 'notes')] } } %} {% set hero = hero_copy[this._id] %}
{% if this._id == 'blog' %}{% endif %}

{% if this._id == 'projects' %} {% elif this._id == 'articles' %} {% else %} {% endif %} {{ hero.eyebrow }} {% if this._id == 'blog' %}{% endif %}

{{ this.title }}

{{ hero.intro }}

{% for lead, rest in hero.chips %}{{ lead }} {{ rest }}{% endfor %}
{% else %}

{{ this.eyebrow }}

{{ this.summary }}

{% endif %}
{{ this.title }} {{ this.children.count() }} entries {% if this._id in ['articles', 'blog'] %} {% set feed_base = 'https://www.labyricorn.com/' ~ this._id ~ '/' %} · {{ visible_feed_links(feed_base ~ 'feed.xml', feed_base ~ 'rss.xml') }} {% endif %}
{% if filter_tags.values %}
{% for tag in filter_tags.values|sort %} {% set tag_record = site.get('/tags/' ~ tag) %} {% if tag_record %}{% endif %} {% endfor %}

{% endif %}
{% for item in this.children %} {% set item_tags = item.taxonomy_tags if item._model == 'project' else item.tags %} {% endfor %}
{% if filter_tags.values %}{% endif %}
{% endblock %}