I'm a developer at P'unk Ave, creators and stewards of ApostropheCMS. Looks like you're working with the legacy version, Apostrophe 0.5. You can find some documentation on the respective docs site.
To add an extra field on the page settings, you'll want to leverage the Apostrophe Fancy Page module. Just npm install apostrophe-fancy-page
and extend your desired page types as modules in your apps.js
like so:
pages: {
{
name: 'my-page',
label: 'My Page'
}
},
modules: {
'some-module': {},
'some-other-module': {},
'my-page': {
extend: 'apostrophe-fancy-page',
name: 'my-page',
label: 'My Page',
addFields: [
{
name: 'textField',
label: 'New Text Field',
type: 'string'
}
]
},
}
Be sure your new fancy page module has the same name
as the page type you are extending. Restart your server and you should have the new page setting field.
If you want to spit this data onto the page, you can now call something like this in your page template:
{{ page.textField }}
Be sure to check out the latest version of ApostropheCMS as well! Lots of cool stuff going on for 2.0 with plans for 3.0 underway.