locomotivecms/engine — pull request #312 by kikito (2012-03-02 23:12:49+00:00)
Title: current_user liquid extension

Hi there,

I made a small liquid drop called `current_user` so that the current user can be printed/used from liquid.

Here's how the typical "Hello xxx, " / "" scenario looks like:

{% if current_user.logged_in? %}
{{ current_user.name }} Logout
{% else %}
Log in
{% endif %}