I supposed that solution does work, but I don’t think it’s ideal for more dynamic page. I’m not fully aware of how the meta tags work, but a solution I thought of is either:
- some meta component defined in the layout that overrides the
register_page
meta information. OR - an additional return object within the layout function that is a dictionary of meta tags
I’m not sure if either of these are feasible, since I’m not too familiar with what’s going on under the hood.