I’d like to be able to end the page’s rendering from within an <#if> tag.
I’m aware of the <#stop> tag, but I’d prefer not to have to throw an exception in order for the page to stop rendering.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here’s a dirty trick for that: Put the whole content of the template inside a macro and then immediately call that macro. Inside the macro you can use
<#return>.