-
Notifications
You must be signed in to change notification settings - Fork 20
feat: add Zola #326
feat: add Zola #326
Conversation
Adds support for Zola
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @henrifrancois!
You should require
the JSON file in:
framework-info/src/frameworks/main.js
Line 29 in 4a28a9a
require('./cecil.json'), |
Also how can we differentiate Zola from Hugo? See:
"configFiles": ["config.toml", "config.yaml"] |
- Removed `config.yaml` option for configuration in `zola.json`. - Place `require('./zola.json')` in the appropriate section in `frameworks/main.js`
After reviewing it seems Zola only uses a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for checking @henrifrancois.
I think this means that sometimes we'll detect both hugo
and zola
until we find a better way to do it (I believe we'll need to add support for pattern matching inside configuration files).
package-lock.json
Outdated
@@ -44,7 +44,7 @@ | |||
"react-dom": "^17.0.1", | |||
"test-each": "^2.0.0", | |||
"tmp-promise": "^3.0.2", | |||
"webpack": "^5.41.0", | |||
"webpack": "^5.10.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we undo this? Seems unrelated to the PR
Thanks @henrifrancois, I opened #329 as a follow up |
Adds support for Zola