The robur.coop redesign, with yocaml 1 (note: this is not live, and we need yocaml2)
Find a file
Reynir Björnsson 36efa8d61b Use Markdown.content_to_html
Instead of `snd Markdown.to_html`
2023-02-16 13:19:38 +01:00
css First commit 2023-02-15 18:07:07 +01:00
images First commit 2023-02-15 18:07:07 +01:00
metadata First commit 2023-02-15 18:07:07 +01:00
pages First commit 2023-02-15 18:07:07 +01:00
src Use Markdown.content_to_html 2023-02-16 13:19:38 +01:00
templates Implement members 2023-02-16 13:09:52 +01:00
.gitignore First commit 2023-02-15 18:07:07 +01:00
dune-project First commit 2023-02-15 18:07:07 +01:00
README.md First commit 2023-02-15 18:07:07 +01:00
robur.opam First commit 2023-02-15 18:07:07 +01:00

robur.coop

You can pin the project to download all required dependencies:

$ git clone https://git.robur.io/robur/robur.coop
$ cd robur.coop
$ opam pin add -y .

Then, you can execute watch to generate a local version of the website (on http://localhost:8888/):

$ dune exec src/robur.exe -- watch

The website will be generated (by default) into the _site directory. The design and the layout come from a simple execution of what rabotnik.coop gave to us with php:

$ cd robur-rabotnik/
$ php index.php > index.html
$ php about_us.php > abous_us.html
$ ...

The template engine uses Jingoo and the project uses YOCaml. An example is available here: blog.osau.re