Apologies for the confusion in my question wording. To illustrate, here is an example piece of code:
p #[strong Genre]
each val in book.genre
a(href = val.url) #{val.name}
| ,
I am trying to figure out how to format a comma between each value without having one appear at the end. I admit I've invested more time than necessary into solving this, but I'm determined.