geoproject-app/public/site/templates/print.php
isUnknown ffcb1a9f2e rename: chapitre/projet templates to chapter/project
Standardize French template names to English across blueprints,
content files, PHP templates, Vue components and Pinia stores.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 11:29:07 +01:00

17 lines
398 B
PHP

<?php
/**
* Template for Vue.js print editor
* Route: /project/narrative/print
*
* This template loads the Vue app and passes the parent narrative JSON URL
*/
// Get parent narrative
$narrative = $page->parent();
// Build narrative JSON URL
$narrativeJsonUrl = $narrative->url() . '.json';
?>
<?php snippet('header', ['narrativeJsonUrl' => $narrativeJsonUrl]) ?>
<?php snippet('footer') ?>