I'm using the Meta Tags module to pretty up my page titles using tokens. I want to display the taxonomy term parents in the page title, with separators. It's working, except I need it to also END with a separator. Though if no parent exists, I don't want the separator, obviously.
What I have so far:
[term:parents:join: - ][term:name] | [site:name]
But I want a dash (or pipe, or something besides a space) right before the term:name token for when there is a parent. But this:
[term:parents:join: - ] - [term:name] | [site:name]
Results in all page titles without parents to start with the dash. Any ideas?