<?php
/**
 * Template for Vue.js print editor
 * Route: /projet/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') ?>
