Inlining for and if statements

Inlining for and if liquid statements removes ugly generated whitespace
in html