├── .eslintrc ├── test ├── modules │ └── default-page │ │ ├── views │ │ └── page.html │ │ └── index.js ├── package.json └── index.js ├── .gitignore ├── i18n ├── en.json ├── sk.json ├── pt-BR.json ├── de.json ├── fr.json ├── it.json └── es.json ├── package.json ├── LICENSE.md ├── .github └── workflows │ └── main.yml ├── CHANGELOG.md ├── README.md └── index.js /.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": [ "apostrophe" ] 3 | } -------------------------------------------------------------------------------- /test/modules/default-page/views/page.html: -------------------------------------------------------------------------------- 1 | {{ data.page.title }} 2 | -------------------------------------------------------------------------------- /test/modules/default-page/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extend: '@apostrophecms/page-type' 3 | }; 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore MacOS X metadata forks (fusefs) 2 | ._* 3 | package-lock.json 4 | *.DS_Store 5 | node_modules 6 | 7 | # vim swp files 8 | .*.sw* 9 | -------------------------------------------------------------------------------- /test/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "/**": "This package.json file is not actually installed.", 3 | " * ": "Apostrophe requires that all npm modules to be loaded by moog", 4 | " */": "exist in package.json at project level, which for a test is here", 5 | "dependencies": { 6 | "apostrophe": "git+https://github.com/apostrophecms/apostrophe.git", 7 | "@apostrophecms/redirect": "git+https://github.com/apostrophecms/redirect.git" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /i18n/en.json: -------------------------------------------------------------------------------- 1 | { 2 | "label": "Redirect", 3 | "pluralLabel": "Redirects", 4 | "originalSlug": "Old URL", 5 | "originalSlugHelp": "Format with leading slash (e.g., /old-url)", 6 | "title": "Description", 7 | "urlType": "Link Type", 8 | "urlTypeInternal": "Internal Page", 9 | "urlTypeExternal": "URL", 10 | "ignoreQuery": "Ignore query string when matching", 11 | "forwardQuery": "Forward query string", 12 | "newPage": "Page Title", 13 | "external": "URL", 14 | "statusCode": "Redirect Type", 15 | "statusCodeHtmlHelp": "