{"result":{"depiction_url":null,"edges":{"refers":{"objects":[{"created":"2026-10-07T11:13:07Z","object_id":{"id":2940,"is_a":["text","documentation","developerguide"],"name":"developer_request_path","title":{"_type":"trans","tr":{"en":"Follow a request to its template"}},"uri":"https:\/\/zotonic.com\/id\/2940"},"seq":1000000},{"created":"2026-10-07T11:13:07Z","object_id":{"id":2944,"is_a":["text","documentation","developerguide"],"name":"developer_resource_links","title":{"_type":"trans","tr":{"en":"Link to resources and dispatch routes"}},"uri":"https:\/\/zotonic.com\/id\/2944"},"seq":1000000}],"predicate":{"id":2409,"is_a":["meta","predicate"],"name":"refers","title":{"_type":"trans","tr":{"en":"Refers"}},"uri":"https:\/\/zotonic.com\/id\/refers"}},"subject":{"objects":[{"created":"2026-10-07T11:13:28Z","object_id":{"id":2553,"is_a":["categorization","keyword","keyword_information_type"],"name":"zotonic_topic_tutorial","title":"Tutorial","uri":"https:\/\/zotonic.com\/id\/2553"},"seq":1},{"created":"2026-10-07T11:13:28Z","object_id":{"id":2563,"is_a":["categorization","keyword","keyword_audience"],"name":"zotonic_topic_frontend_developer","title":"Frontend developer","uri":"https:\/\/zotonic.com\/id\/2563"},"seq":2},{"created":"2026-10-07T11:13:28Z","object_id":{"id":2620,"is_a":["categorization","keyword","keyword_architecture"],"name":"zotonic_topic_template","title":"Template","uri":"https:\/\/zotonic.com\/id\/2620"},"seq":3},{"created":"2026-10-07T11:13:28Z","object_id":{"id":2628,"is_a":["categorization","keyword","keyword_architecture"],"name":"zotonic_topic_dispatch_rule","title":"Dispatch rule","uri":"https:\/\/zotonic.com\/id\/2628"},"seq":4},{"created":"2026-10-07T11:13:28Z","object_id":{"id":2608,"is_a":["categorization","keyword","keyword_domain"],"name":"zotonic_topic_routing_and_redirects","title":"Routing and redirects","uri":"https:\/\/zotonic.com\/id\/2608"},"seq":5}],"predicate":{"id":308,"is_a":["meta","predicate"],"name":"subject","title":{"_type":"trans","tr":{"en":"Keyword"}},"uri":"http:\/\/purl.org\/dc\/elements\/1.1\/subject"}}},"id":2916,"is_a":["text","documentation","developerguide"],"links":[{"rel":"self","target":"https:\/\/zotonic.com\/.zotonic\/websub\/topic\/2916"},{"rel":"hub","target":"https:\/\/zotonic.com\/.zotonic\/websub"}],"medium":null,"medium_url":null,"name":"developer_first_dynamic_page","page_url":{"en":"https:\/\/zotonic.com\/docs\/2916\/add-your-first-dynamic-page","x-default":"https:\/\/zotonic.com\/docs\/2916\/add-your-first-dynamic-page"},"preview_url":null,"resource":{"body":{"_type":"trans","tr":{"en":"<p>For a new dispatch file, use the complete list below. In an existing dispatch list, insert the tuple before broader matching rules and separate entries with commas:<\/p>\n<pre class=\"notranslate\"><code class=\"notranslate language-erlang\">[\n    {garden_welcome, [&quot;welcome&quot;], controller_template,\n        [{template, &quot;garden_welcome.tpl&quot;}]}\n].\n<\/code><\/pre>\n<p>Create <code>priv\/templates\/garden_welcome.tpl<\/code>:<\/p>\n<pre class=\"notranslate\"><code class=\"notranslate language-django\">{% extends &quot;base.tpl&quot; %}\n{% block content %}\n    &lt;h1&gt;{_ Welcome _}&lt;\/h1&gt;\n    &lt;p&gt;{{ m.site.title|escape }}&lt;\/p&gt;\n{% endblock %}\n<\/code><\/pre>\n<p>Confirm that your generated <code>base.tpl<\/code> has a <code>content<\/code> block; adapt the block name if it differs. Reload <code>\/welcome<\/code> on the site&#39;s configured hostname and check that the site title appears.<\/p>\n<p>Use <code>{% url garden_welcome %}<\/code> to link to this route. For ordinary CMS content, prefer resource page URLs instead of inventing a dispatch rule per page. See <a href=\"\/id\/2940\">Follow a request to its template<\/a> and <a href=\"\/id\/2944\">Link to resources and dispatch routes<\/a>.<\/p>\n<p>Save the dispatch list as <code>apps_user\/garden\/priv\/dispatch\/garden<\/code> (create the directory if needed). Save the template under <code>apps_user\/garden\/priv\/templates\/<\/code>. After file handling has refreshed the rules, run <code>bin\/zotonic dispatch garden \/welcome<\/code>; expect the <code>garden_welcome<\/code> rule and <code>controller_template<\/code> before checking the browser.<\/p>"}},"category_id":{"id":317,"is_a":["meta","category"],"name":"developerguide","title":"Developer guide","uri":"https:\/\/zotonic.com\/id\/developerguide"},"content_group_id":{"id":339,"is_a":["meta","content_group"],"name":"default_content_group","title":{"_type":"trans","tr":{"en":"Default Content Group"}},"uri":"https:\/\/zotonic.com\/id\/default_content_group"},"created":"2026-10-07T11:12:55Z","creator_id":{"id":1,"is_a":["person"],"name":"administrator","title":"Site Administrator","uri":"https:\/\/zotonic.com\/id\/1"},"doc_editorial_bundle":true,"doc_editorial_edges":{"subject":[2553,2563,2608,2620,2628]},"is_authoritative":true,"is_dependent":false,"is_featured":false,"is_protected":false,"is_published":true,"is_unfindable":false,"language":["en"],"modified":"2026-10-07T20:45:38Z","modifier_id":{"id":1,"is_a":["person"],"name":"administrator","title":"Site Administrator","uri":"https:\/\/zotonic.com\/id\/1"},"name":"developer_first_dynamic_page","pivot_geocode":null,"pivot_location_lat":null,"pivot_location_lng":null,"privacy":0,"publication_end":"9999-06-01T00:00:00Z","publication_start":"2026-10-07T11:12:55Z","slug":"add-your-first-dynamic-page","summary":{"_type":"trans","tr":{"en":"Use an existing controller and a template for a simple dynamic page."}},"title":{"_type":"trans","tr":{"en":"Add your first dynamic page"}},"title_slug":{"_type":"trans","tr":{"en":"add-your-first-dynamic-page"}},"tz":"UTC","uri":null,"version":16,"visible_for":0},"uri":"https:\/\/zotonic.com\/id\/2916","uri_template":"https:\/\/zotonic.com\/id\/:id","websub":{"hub":"https:\/\/zotonic.com\/.zotonic\/websub","topic":"https:\/\/zotonic.com\/.zotonic\/websub\/topic\/2916"}},"status":"ok"}