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.
 
 
 
 
 
 
Alex cd0a248bd5
adapt html templates to cookbook setup
3 weeks ago
fathub
.gitignore
LICENSE
README.md
build.sh

README.md

cookbook site generator

This is a slightly modified version of the (apparently unmaintained) fathub site generator.

This code for generates the site on https://cookbook.open-society.ch/, whereby the recipe data on the site are taken from a seperate repository.

The recipe repository is split off to make it easier to run a cookbook instance with your own data, or use the data with a different frontend like a native application.

Installation

$ git clone https://codeberg.org/open-society/cookbook.git
$ cd cookbook
$ git clone https://codeberg.org/open-society/cookbook-data.git dataset
$ ./build.sh
The website should now be in the public_html subfolder

The build.sh script will make sure that the dataset repository is up to date and regenerate the translations, then it will generate the full static site.

Recipe data structure

The v2 format for recipes and the info pages is documented in the readme of the data repository.