index page updated to static export
This commit is contained in:
1 parent
4de352e2df
commit
3103f3689b
2 files changed
+24
-22
No files matched your search
+2
-2
@@ -17,7 +17,7 @@ function createPath(page, map, query, items) {
|
||||
module.exports = withCss(withSass({
|
||||
exportTrailingSlash: true,
|
||||
env: {
|
||||
ARTICLES_PAGE_SIZE: 15,
|
||||
APP_ARTICLES_PAGE_SIZE: 15,
|
||||
},
|
||||
webpack(config) {
|
||||
config.resolve.modules.push(__dirname)
|
||||
@@ -33,7 +33,7 @@ module.exports = withCss(withSass({
|
||||
|
||||
return {
|
||||
// ...defaultPathMap,
|
||||
'/': { page: '/', query: { pageSize: articlesPageSize } },
|
||||
'/': { page: '/' },
|
||||
'/documents': { page: '/documents' },
|
||||
'/gallery': { page: '/gallery' },
|
||||
'/collective': { page: '/collective' },
|
||||
|
||||
Reference in new issue
Block a user