I think literally everyone realises the troubles we've had with Zola. I'm currently working on Velo, which is what this site is planned to move to. We can do a lot of the work prior to v0.1.0 since a lot of the things here do not need to change. Things that do are:
[ ] Convert config.toml to config.json
The file structure is pretty simple— I'll attach the current documentation here. Feedback is welcome if more required/optional attributes are needed native to the tool. An additional config file for allowing this site to be rendered at both farer.group and gouv.fa would be nice— the extends element would be how we do this.
[ ] Convert templates to Go templates NunjucksVelo uses the Nunjucks templating engine, which is VERY similar to Tera, Liquid, et al. It should be a very low effort change. Some things to keep in mind are that I haven't decided what addition filters and functions will come with Velo. Two that are realtively safe to assume are get_section(pathtosectionfromcontentfolder and get_page(pathtopagefromcontentfolder).
[ ] Update ansible.yml and/or gouv-deploy.yml to be ready for Velo
I plan to make a Docker container via GitHub Packages which can make this easier. The standard build command is velo build. To tie in other config files is done with velo build -c PATHTOCONFIGFILE
I can answer any questions as we make progress on migration. Velo should have v0.1.0 sometime in March May, ideally.
I think literally everyone realises the troubles we've had with Zola. I'm currently working on Velo, which is what this site is planned to move to. We can do a lot of the work prior to v0.1.0 since a lot of the things here do not need to change. Things that do are:
extends
element would be how we do this.NunjucksVelo uses the Nunjucks templating engine, which is VERY similar to Tera, Liquid, et al. It should be a very low effort change. Some things to keep in mind are that I haven't decided what addition filters and functions will come with Velo. Two that are realtively safe to assume areget_section(pathtosectionfromcontentfolder
andget_page(pathtopagefromcontentfolder)
.ansible.yml
and/orgouv-deploy.yml
to be ready for Velo I plan to make a Docker container via GitHub Packages which can make this easier. The standard build command isvelo build
. To tie in other config files is done withvelo build -c PATHTOCONFIGFILE
I can answer any questions as we make progress on migration. Velo should have v0.1.0 sometime in
MarchMay, ideally.Ref: velo/docs/configuration.md