No description
Find a file
Ken "Elf" Mathieu Sternberg 77eb9fef9b
Create pull request/add yaml to load data (#1842)
* Add YAML to formats supported by load_data()

A fairly trivial addition; JSON and YAML are handled so similarly
that this was a matter of copying the JSON-relevant handlers and
editing the copies to handle YAML as well.  The test file was
literally generated with 'json2yaml'.

The documentation has been updated to indicate that load_data() now
handles YAML code.

The CHANGELOG has been updated as well.

* After checking, I found that it's generally agreed the mime type is still application/x-yaml.

* Update comment, unify library importing.

I noticed one more place where the list of formats was supported,
and added YAML to that list.

I noticed that there's a singular place to load the `libs::` crate,
and unified by importing of serde_yaml in that place.
2022-04-29 20:22:02 +02:00
.github disable latest tag 2021-12-07 22:38:21 +01:00
completions Make path to config.toml independent from root dir (#1023) 2020-05-23 11:55:45 +02:00
components Create pull request/add yaml to load data (#1842) 2022-04-29 20:22:02 +02:00
docs Create pull request/add yaml to load data (#1842) 2022-04-29 20:22:02 +02:00
src fix typo in zola init (#1836) 2022-04-26 23:42:16 +02:00
sublime Add protobuf syntax highlighting 2021-05-10 22:09:36 +02:00
test_site apply skip_prefixes before parsing external link domain (#1833) 2022-04-26 20:07:50 +02:00
test_site_i18n Re-organise content and remove slotmap indirection level (#1827) 2022-04-26 20:51:04 +02:00
.dockerignore add .dockerignore file to reduce intermediate docker image size and build time 2020-06-09 12:16:01 +02:00
.editorconfig Create new project 2016-12-06 14:51:33 +09:00
.gitignore Add class based syntax higlighting + line numbers (#1531) 2021-07-10 08:53:19 +02:00
.gitmodules Add protobuf syntax highlighting 2021-05-10 22:09:36 +02:00
azure-pipelines.yml Try to change windows image for CI (#1807) 2022-03-21 10:43:52 +01:00
build.rs Make sure that zola serve/build can start from anywhere inside dir tree (#1761) 2022-03-03 12:35:29 +01:00
Cargo.lock Remove unused deps thanks to cargo-machete 2022-04-27 19:49:57 +02:00
Cargo.toml Remove unused deps thanks to cargo-machete 2022-04-27 19:49:57 +02:00
CHANGELOG.md Create pull request/add yaml to load data (#1842) 2022-04-29 20:22:02 +02:00
CONTRIBUTING.md Merge branch 'master' into next 2021-07-18 13:53:27 +02:00
Dockerfile Use distroless instead of dockerize (#1643) 2021-10-21 19:37:12 +02:00
EXAMPLES.md Add films.mlcdf.fr to example sites (#1702) 2021-12-21 20:03:06 +01:00
LICENSE USe date range for license 2018-01-16 13:39:56 +01:00
netlify.toml Update version of zola for docs + version of ubuntu for release 2021-07-19 20:12:41 +02:00
README.md Remove comparisons in README 2021-11-25 09:11:05 +01:00
rustfmt.toml rustfmt 2018-10-31 08:18:57 +01:00
snapcraft.yaml Next version 2022-02-14 11:08:40 +01:00

zola (né Gutenberg)

Build Status

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.

This tool and the template engine it is using were born from an intense dislike of the (insane) Golang template engine and therefore of Hugo that I was using before for 6+ sites.

List of features

  • Single binary
  • Syntax highlighting
  • Sass compilation
  • Assets co-location
  • (Basic currently) multilingual site suport
  • Image processing
  • Themes
  • Shortcodes
  • Internal links
  • External link checker
  • Table of contents automatic generation
  • Automatic header anchors
  • Aliases
  • Pagination
  • Custom taxonomies
  • Search with no servers or any third parties involved
  • Live reload
  • Deploy on many platforms easily: Netlify, Vercel, Cloudflare
  • Breadcrumbs