Hello.
How can I automatically set a defined template for the post if it has a defined tag?
I suppose this rule I have to set in code of post theme file, right?
Options:
- Edit routes.yaml and write a custom template
- Edit post.hbs to include some styling logic
- Add styling for .tag-yourtagname to your css or code injection. Ghost themes typically add a class for each tag on the post.
I’d start with option 3 unless you need major rearrangement instead of a little restyling.