Hi, I agree with Nils. You have all the content, just walk it (or search it) in the rendering of the HTML header to get the values you need.
This will work *unless* the values you need depend on model execution. If that's the case (ugh) then I would proceed as follows: create template variants that render just the header you need, or nothing. When rendering the HTML header, switch variant in the aggregation state, render all the subnodes, and then switch back. Regards from Vienna, Richard (iPhone) > On 23.04.2015, at 15:33, Nils Breunese <[email protected]> wrote: > > Jozef Chocholáček wrote: > >> The problem is, that OG Tags must be embedded into the <header> part of the >> page, because they are actually <meta> tags, and they must be present in the >> HTTP response body, not set later using some Javascript. But in the moment >> of rendering the html header, I do not know, what content is going to be >> rendered, do I? > > Well, you have access to the whole page content in the template rendering the > HTML header, so I think that should give you all you need to render the OG > tags. > > Nils. > > ---------------------------------------------------------------- > For list details, see http://www.magnolia-cms.com/community/mailing-lists.html > Alternatively, use our forums: http://forum.magnolia-cms.com/ > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- > ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
