-
Notifications
You must be signed in to change notification settings - Fork 986
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more information about Vercel deployments #2399
Conversation
### Prefer clean URLs | ||
|
||
When enabled, all HTML files will be served without their file extension, so visitors will see | ||
`/about` instead of `/about.html` while navigating through your website. |
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.
There won't be a about.html
file with zola, how does that work?
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.
My bad, it is meant to be an example to tell how it works, I forgot to indicate that it is an example.
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.
I edited the sentence, hope it's better now.
### Prefer clean URLs | ||
|
||
When enabled, all HTML files will be served without their file extension. For example | ||
if you have an `about.md` file, Zola will generate a `about.html` file, but Vercel |
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.
Zola will generate a
about.html
No, Zola will generate about/index.html
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.
Yeah, it was an oversight on my part, I forgot how it works for a moment 😅 Fixed.
Thanks! |
* Add more information about Vercel * Change wording and add specify version * Update vercel.md
IMPORTANT: Please do not create a Pull Request adding a new feature without discussing it first.
The place to discuss new features is the forum: https://zola.discourse.group/
If you want to add a new feature, please open a thread there first in the feature requests section.
Sanity check:
My first attempt for getting Zola to work in Vercel didn't succeed, because apparently Vercel's own build images has older glibc version than Zola requires, which also reported on #1713 and https://github.com/orgs/vercel/discussions/3181.
However, I managed to get it working by setting Node.js version to "20.x" in Vercel project settings, and I used a custom command to download the latest binary from GitHub instead of using Vercel's own version of Zola, so I wanted to include this information in the documentation in case anyone needs.