You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 3.6KB

6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # zola (né Gutenberg)
  2. [![Build Status](https://travis-ci.com/getzola/zola.svg?branch=master)](https://travis-ci.com/getzola/zola)
  3. [![Build status](https://ci.appveyor.com/api/projects/status/i0ufvx2sdm2cmawo/branch/master?svg=true)](https://ci.appveyor.com/project/Keats/zola/branch/master)
  4. A fast static site generator in a single binary with everything built-in.
  5. Documentation is available on [its site](https://www.getzola.org/documentation/getting-started/installation/) or
  6. in the `docs/content` folder of the repository and the community can use [its forum](https://zola.discourse.group).
  7. ## Comparisons with other static site generators
  8. | | Zola | Cobalt | Hugo | Pelican |
  9. |:-------------------------------:|:---------:|--------|------|---------|
  10. | Single binary | ✔ | ✔ | ✔ | ✕ |
  11. | Language | Rust | Rust | Go | Python |
  12. | Syntax highlighting | ✔ | ✔ | ✔ | ✔ |
  13. | Sass compilation | ✔ | ✔ | ✔ | ✔ |
  14. | Assets co-location | ✔ | ✔ | ✔ | ✔ |
  15. | i18n | ✕ | ✕ | ✔ | ✔ |
  16. | Image processing | ✔ | ✕ | ✔ | ✔ |
  17. | Sane & powerful template engine | ✔ | ~ | ~ | ✔ |
  18. | Themes | ✔ | ✕ | ✔ | ✔ |
  19. | Shortcodes | ✔ | ✕ | ✔ | ✔ |
  20. | Internal links | ✔ | ✕ | ✔ | ✔ |
  21. | Link checker | ✔ | ✕ | ✕ | ✔ |
  22. | Table of contents | ✔ | ✕ | ✔ | ✔ |
  23. | Automatic header anchors | ✔ | ✕ | ✔ | ✔ |
  24. | Aliases | ✔ | ✕ | ✔ | ✔ |
  25. | Pagination | ✔ | ✕ | ✔ | ✔ |
  26. | Custom taxonomies | ✔ | ✕ | ✔ | ✕ |
  27. | Search | ✔ | ✕ | ✕ | ✔ |
  28. | Data files | ✔ | ✔ | ✔ | ✕ |
  29. | LiveReload | ✔ | ✕ | ✔ | ✔ |
  30. | Netlify support | ~ | ✕ | ✔ | ✕ |
  31. | Breadcrumbs | ✔ | ✕ | ✕ | ✔ |
  32. | Custom ouput formats | ✕ | ✕ | ✔ | ? |
  33. ### Supported content formats
  34. - Zola: markdown
  35. - Cobalt: markdown
  36. - Hugo: markdown, asciidoc, org-mode
  37. - Pelican: reStructuredText, markdown, asciidoc, org-mode, whatever-you-want
  38. ### Template engine explanation
  39. Cobalt gets `~` as, while based on [Liquid](https://shopify.github.io/liquid/), the Rust library doesn't implement all its features but there is no documentation on what is and isn't implemented. The errors are also cryptic. Liquid itself is not powerful enough to do some of things you can do in Jinja2, Go templates or Tera.
  40. Hugo gets `~`. It is probably the most powerful template engine in the list after Jinja2 (hard to beat python code in templates) but personally drives me insane, to the point of writing my own template engine and static site generator. Yes, this is a bit biased.
  41. ### Pelican notes
  42. Many features of Pelican are coming from plugins, which might be tricky
  43. to use because of version mismatch or lacking documentation. Netlify supports Python
  44. and Pipenv but you still need to install your dependencies manually.