Remove the parentheses and it's good to go for now..

    {{title + ' |' if title}}