Clean up code to test randomness functionality

main
thijsoid 8 months ago
parent db7ff62625
commit 45ea4d4f3a

@ -58,15 +58,6 @@
This EPUB is a generated compilation of logs with annotations that provide context to the situatedness of this 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. technology. With one book a day, a diary of chopchop is kept, stored and shared.
</p> </p>
<p> This is a random number: {{ range(1, 51) | random }}?</p>
{% set dice = range(1, 4) | random %}
{% if dice < 2 %}
<mark>dice = 1</mark>
{% elif dice < 3%}
<mark>dice = 2</mark>
{% else %}
<mark>dice = 3</mark>
{% endif %}
</article> </article>
<article> <article>

Loading…
Cancel
Save