Draft
Conversation
Zola is unfortunately not very flexible. And the Tera syntax is terrible.
Member
Author
|
Currently failing with |
Member
Author
|
Running in dev mode revealed more info, I forgot to change = to : in one page when converting the toml front matter to the meta object: $ NODE_ENV=development node .
Webserver listening on http://localhost:8080
Livereloadserver listening on 35729
[PAGE] found 21 pages
[SHAYU] Fatal Error:
SyntaxError: unknown: Invalid shorthand property initializer. (2:10)
1 | export const meta = {
> 2 | title = "selfoss – the open source web based rss reader and multi source mashup aggregator",
| ^
3 | }
at Object._raise (/home/jtojnar/Projects/selfoss/docs/node_modules/@babel/parser/lib/index.js:506:17)
at Object.raiseWithData (/home/jtojnar/Projects/selfoss/docs/node_modules/@babel/parser/lib/index.js:499:17)
at Object.raise (/home/jtojnar/Projects/selfoss/docs/node_modules/@babel/parser/lib/index.js:460:17)
at Object.checkExpressionErrors (/home/jtojnar/Projects/selfoss/docs/node_modules/@babel/parser/lib/index.js:3809:12)
at Object.parseMaybeAssign (/home/jtojnar/Projects/selfoss/docs/node_modules/@babel/parser/lib/index.js:11718:12)
at /home/jtojnar/Projects/selfoss/docs/node_modules/@babel/parser/lib/index.js:11646:39
at Object.allowInAnd (/home/jtojnar/Projects/selfoss/docs/node_modules/@babel/parser/lib/index.js:13646:16)
at Object.parseMaybeAssignAllowIn (/home/jtojnar/Projects/selfoss/docs/node_modules/@babel/parser/lib/index.js:11646:17)
at Object.parseVar (/home/jtojnar/Projects/selfoss/docs/node_modules/@babel/parser/lib/index.js:14654:70)
at Object.parseVarStatement (/home/jtojnar/Projects/selfoss/docs/node_modules/@babel/parser/lib/index.js:14458:10)
at Object.parseStatementContent (/home/jtojnar/Projects/selfoss/docs/node_modules/@babel/parser/lib/index.js:14017:21)
at Object.parseStatement (/home/jtojnar/Projects/selfoss/docs/node_modules/@babel/parser/lib/index.js:13942:17)
at Object.parseExportDeclaration (/home/jtojnar/Projects/selfoss/docs/node_modules/@babel/parser/lib/index.js:15267:17)
at Object.maybeParseExportDeclaration (/home/jtojnar/Projects/selfoss/docs/node_modules/@babel/parser/lib/index.js:15213:31)
at Object.parseExport (/home/jtojnar/Projects/selfoss/docs/node_modules/@babel/parser/lib/index.js:15140:29)
at Object.parseStatementContent (/home/jtojnar/Projects/selfoss/docs/node_modules/@babel/parser/lib/index.js:14058:27)
From previous event:
at /home/jtojnar/Projects/selfoss/docs/node_modules/shayu/lib/page/mdxPage.js:112:18
From previous event:
at render (/home/jtojnar/Projects/selfoss/docs/node_modules/shayu/lib/page/mdxPage.js:106:20)
at /home/jtojnar/Projects/selfoss/docs/node_modules/shayu/lib/page/mdxPage.js:29:10
From previous event:
at getMdxPage (/home/jtojnar/Projects/selfoss/docs/node_modules/shayu/lib/page/mdxPage.js:27:5)
at /home/jtojnar/Projects/selfoss/docs/node_modules/shayu/lib/build.js:49:11
From previous event:
at /home/jtojnar/Projects/selfoss/docs/node_modules/shayu/lib/build.js:47:18
at processImmediate (node:internal/timers:464:21)
From previous event:
at getAllMdxPages (/home/jtojnar/Projects/selfoss/docs/node_modules/shayu/lib/build.js:45:5)
at /home/jtojnar/Projects/selfoss/docs/node_modules/shayu/lib/build.js:56:10
From previous event:
at buildPages (/home/jtojnar/Projects/selfoss/docs/node_modules/shayu/lib/build.js:55:20)
at /home/jtojnar/Projects/selfoss/docs/node_modules/shayu/lib/livereload/index.js:125:14
From previous event:
at Object.start (/home/jtojnar/Projects/selfoss/docs/node_modules/shayu/lib/livereload/index.js:117:5)
at /home/jtojnar/Projects/selfoss/docs/node_modules/shayu/index.js:79:39
at processImmediate (node:internal/timers:464:21)
From previous event:
at shayu (/home/jtojnar/Projects/selfoss/docs/node_modules/shayu/index.js:75:5)
at Object.<anonymous> (/home/jtojnar/Projects/selfoss/docs/index.js:21:1)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47 |
Member
Author
|
Continuing bug galore: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Zola is unfortunately not very flexible. And the Tera syntax is terrible.