Following the docs at I've implemented password protection for a section of a site. Now I would like to show/hide certain content (such as navigation links) based on whether the visitor has entered a valid password.

Essentially using {{ if logged_in }} but for password protected content - is there such a thing?

Answered by Jon Hicks! Go to answer.