Adding meta "google-translate-customization" to the head of my orchard site or theme

Topics: General
Mar 15, 2013 at 12:31 PM
Hi All

I need to add this meta to the head of my site and don't know the following key bits of info:
  1. Which cshtml document do I need to add it to.
  2. How to format it's wrapper if one is required eg. SetMeta etc.
Thank you
Mar 15, 2013 at 3:22 PM
Edited Mar 15, 2013 at 3:24 PM
From any view you have access to a property called ResourceManager, which has a SetMeta method.
You could do for example the following from your Layout.cshtml file:

@ { ResourceManager.SetMeta( new MetaEntry { ... } ); }