-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.js
41 lines (30 loc) · 1.15 KB
/
app.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
var path = require('path');
var apos = require('apostrophe')({
shortName: 'hello-apostrophe',
// See lib/modules for basic project-level configuration of our modules
// responsible for serving static assets, managing page templates and
// configuring user acounts.
modules: {
// Apostrophe module configuration
// Note: most configuration occurs in the respective
// modules' directories. See lib/apostrophe-assets/index.js for an example.
// However any modules that are not present by default in Apostrophe must at
// least have a minimal configuration here: `moduleName: {}`
// If a template is not found somewhere else, serve it from the top-level
// `views/` folder of the project
'apostrophe-templates': { viewsFolderFallback: path.join(__dirname, 'views') },
// This configures our default page template
'apostrophe-pages': {},
'link-widgets': {},
'page-link-widgets': {},
'drawer-widgets': {},
'two-column-widgets': {},
'people': {},
'people-widgets': {
extend: 'apostrophe-pieces-widgets'
},
'people-pages': {
extend: 'apostrophe-pieces-pages'
}
}
});