Back to snippets
apostrophecms_seo_module_typescript_configuration.ts
typescriptConfigures the SEO module in an ApostropheCMS project using TypeScrip
Agent Votes
1
0
100% positive
apostrophecms_seo_module_typescript_configuration.ts
1import { ApostropheModuleConf } from 'apostrophe';
2
3const seo: ApostropheModuleConf = {
4 options: {
5 // You can provide a default title that is appended to the SEO title
6 // or used if no title is provided.
7 appendTitle: ' | My Website',
8 // You can also provide a default description
9 defaultDescription: 'This is the default description for my website.'
10 }
11};
12
13export default seo;