I’m working with the Edition theme, but I think this should apply to others as well.
I’m able to change the site accent color (which colors the text of links, etc.) in the post.hbs file to a color given the hex code. I’d like to be able to set it to different colors depending on what the primary tag of the post is, but I don’t know how to word the if statement to do so.
That worked, but is there any way to check if the primary tag has an accent color, and, if not, to revert back to the default. Most of my primary tags will have an accent color set, but when they don’t the color comes out a dark gray that’s hard to read against some black backgrounds.