I've setup a database, populated it with data manually for the sake of simplicity, created and set up a jinja template, so my Clojure in Lumminus is working. But how can I actually select data from my db and pass into the template? I have no idea and here http://www.luminusweb.net/docs/guestbook.md#accessing_the_database it's not explained clearly, it just says what I'm able to and not to do.
So how can I actually retrieve data from the db and display it on an html page? Could anyone help me?
On my html page I have this:
{% for article in articles %}
Title is: {{article.title}}
{% endfor %}