{% extends "base.html" %} {% block title %}{{ recipe.title }} — Recipe{% endblock %} {% block head_extra %} {% endblock %} {% block content %} ← Back to recipes
{% set _name_parts = (recipe.title or '?').split() %} {% if _name_parts|length >= 2 %} {{ (_name_parts[0][0] ~ _name_parts[1][0])|upper }} {% else %} {{ (recipe.title or '?')[:2]|upper }} {% endif %}

{{ recipe.title }}

{% if recipe.description %}

{{ recipe.description }}

{% endif %}
{# SQL template — copyable. The template is meant to be adapted, not executed as-is; render in a code block with a copy button. #}

Query template

{% if recipe.sql_template %}
{{ recipe.sql_template }}
{% else %}

No SQL template authored yet.

{% endif %}

Touches tables

{% if related_tables %} {% else %}

No related tables linked.

{% endif %}
{% endblock %}