From 45ea4d4f3a00a8b2c124ed023e0901459c1154ee Mon Sep 17 00:00:00 2001 From: thijsoid <1070493@hr.nl> Date: Wed, 27 Mar 2024 13:07:39 +0000 Subject: [PATCH] Clean up code to test randomness functionality --- templates/book.jinja | 9 --------- 1 file changed, 9 deletions(-) diff --git a/templates/book.jinja b/templates/book.jinja index 351b7a3..e1b3824 100644 --- a/templates/book.jinja +++ b/templates/book.jinja @@ -58,15 +58,6 @@ This EPUB is a generated compilation of logs with annotations that provide context to the situatedness of this technology. With one book a day, a diary of chopchop is kept, stored and shared.
-This is a random number: {{ range(1, 51) | random }}?
- {% set dice = range(1, 4) | random %} - {% if dice < 2 %} - dice = 1 - {% elif dice < 3%} - dice = 2 - {% else %} - dice = 3 - {% endif %}