adds an 'or' to static_placeholder templatetag if it is empty

fixes #2504