{% extends "base.html" %} {% block content %} Global Layout Editor Layouts are shared by all projects. Saving creates a new version; pages already using a layout keep their snapshots. {% if error %}{{ error }}{% endif %} {% if notice %}{{ notice }}{% endif %} Available layouts {% for layout in catalogue.values() | sort(attribute="key") %} {% if layout.key == 'auto' %} {{ layout.name }} (generated from the photos on each page) {% else %} {{ layout.name }} {{ layout.key }} v{{ layout.version }} {% endif %} {% endfor %} Layout key Layout name Slots (JSON, normalized coordinates from 0 to 1) {{ slots_json }} Each slot needs a unique key, x, y, width and height; crop_mode may be cover, contain or stretch. Save new layout version {% endblock %}
Layouts are shared by all projects. Saving creates a new version; pages already using a layout keep their snapshots.
{{ error }}
{{ notice }}
Each slot needs a unique key, x, y, width and height; crop_mode may be cover, contain or stretch.