I started down the path of creating a module to support a few OG style tags so
LinkedIn will display my choice of image when a blog post is shared
<meta property="og:image" content="http://mydomain.com/mysweetimage.jpg" />
along with the HTML namespaces in the <html> element
I created an editor template, again optional
for each of the three tags I want to implement, and they're working ok. But, what about the namespaces in the <html> element?
this old thread
, but the solution is: overwrite document.cshtml. If a smarty pants user decides to change their theme, wouldn't they kill the namespaces? The namespaces are the tricky part, as I certainly haven't mastered how Orchard is organized.
Is there a programmatic way to hook into the generic WebViewPage from a module to add some bits? Or maybe some HTML helper I'm overlooking?