- Rename store: recit.js → narrative.js (useRecitStore → useNarrativeStore) - Rename templates: recit.php/json.php → narrative.php/json.php - Rename blueprint: recit.yml → narrative.yml - Update all imports and references in Vue/JS files - Update PHP template references and data attributes - Update CLAUDE.md documentation - Create comprehensive README.md with English-French dictionary The dictionary section maps English code terms to French content terms for easier navigation between codebase and CMS content. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
17 lines
397 B
PHP
17 lines
397 B
PHP
<?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') ?>
|