Fork me on GitHub
Andrei Stan17:11:36

hello, can someone point me to the documentation about the variables that i can use in cryogen?! For example i need to display all the posts titles but:

{% for post in posts %}
                <a href="{{post.uri}}">{{post.title}}</a>
        {% endfor %}
does not render anything. If i change posts with latest-posts it works


I dont believe there is explicit documentation. But if you look at the code for the function compile-assets in compiler.clj and look at the params local variable, you will get some idea of the variables passed to the selmer templating engine.