I need to implement a number of different meta tags for a CQ site I am building. Some meta tags are site wide maintainable i.e. to appear with the same values on all templates and page, and some are maintainable per page.
How best should I implement these?
IMO, I prefer defining multifield with textfield in page properties dialog. Generally, metatags are same on all pages in websites. Implementing inherited setting (Ex:- cq:inherit) would be more ideal for the above mentioned usecase.
I like the idea of using multifield and cq:inherit. If want to add the metatags as a multifield on the page dialog how would I implement "cq:inherit", I thought that this would apply inheritance to the whole of the page component?
Could you explain how cq:inherit works? I read the documentation and it says: "defines if missing values are inherited from the component that it inherits from." But that's a bit vague for me...