661bd9c0fa
Many servers will return errors (e.g. 400/403) to requests that do not set a User-Agent header. This results in issues in both the link_checker and load_data components. With the link_checker these are false positive dead links. In load_data, remote data fails to be fetched. To mitigate this issue, this sets a default User-Agent of $CARGO_PKG_NAME/$CARGO_PKG_VERSION Note that the root cause of this regression from zola v0.9.0 is that reqwest 0.10 changed their default behavior and no longer sets a User-Agent by default: https://github.com/seanmonstar/reqwest/pull/751 Fixes #950. |
||
---|---|---|
.github | ||
completions | ||
components | ||
docs | ||
src | ||
sublime_syntaxes | ||
sublime_themes | ||
test_site | ||
test_site_i18n | ||
.editorconfig | ||
.gitignore | ||
.gitmodules | ||
azure-pipelines.yml | ||
build.rs | ||
Cargo.lock | ||
Cargo.toml | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
Dockerfile | ||
EXAMPLES.md | ||
is-ehh.svg | ||
is-no.svg | ||
is-yes.svg | ||
LICENSE | ||
netlify.toml | ||
README.md | ||
rustfmt.toml | ||
snapcraft.yaml |
zola (né Gutenberg)
A fast static site generator in a single binary with everything built-in.
Documentation is available on its site or
in the docs/content
folder of the repository and the community can use its forum.
Comparisons with other static site generators
Supported content formats
- Zola: markdown
- Cobalt: markdown
- Hugo: markdown, asciidoc, org-mode
- Pelican: reStructuredText, markdown, asciidoc, org-mode, whatever-you-want
explanations
Hugo gets for the template engine because while it is probably the most powerful template engine in the list (after Jinja2) it personally drives me insane, to the point of writing my own template engine and static site generator. Yes, this is a bit biased.
Zola gets for multi-language support as it only has a basic support and does not (yet) offer things like i18n in templates.
Pelican notes
Many features of Pelican come from plugins, which might be tricky to use because of a version mismatch or inadequate documentation. Netlify supports Python and Pipenv but you still need to install your dependencies manually.