{% extends 'base.html.twig' %} {% block stylesheets %} {{ parent() }} {# Linked sheet (digested URL). If this 404s on some hosts, JS entry still imports the same file; critical {% endblock %} {% block title %}Magazine index editor — {{ website_name }}{% endblock %} {% block meta_description %} {% endblock %} {% block body %}

Magazine index editor

Edit kind 30040 indices (root, categories, subcategories), then sign with your Nostr extension. Use Add top-level category or Add subcategory to create new indices; the parent index’s a list is updated automatically so the tree stays linked. Only indices you changed are signed; any other index required so nested a links stay consistent is still included in the same batch (same rules as before).

{% for node in editor_payload.nodes %} {% set depth = node.depth|default(0) %}
{% if node.is_root %} Root index {{ node.d_tag }} {% elseif depth > 1 %} Subcategory {% else %} Category {% endif %} {% if not node.is_root %} {% endif %} {% if node.is_root %} {% else %} {% endif %}
a tags (addressable coordinates)

Each field is one a value: kind:hex64pubkey:identifier, long-form 30023/30024, or NIP-19 naddr1… / nostr:naddr1… (expanded when signing).

{% for coord in node.a_coordinates %}
{% endfor %}
{% endfor %}
{% endblock %}