opengraph - Adding Open Graph tags to Sitefinity Blog with Custom Blog Provider -
we trying add open graph meta tags our blog, hosted in sitefinity. best place handle this?
- in definition of page, in "title , properties" in section "html add head"... can add grab title , summary?
- is there can in each of blogs?
- can in template page? (not preference)
if use external sitefinity template blog widget details view, can add custom code behind using sitefinity blogs api metadata need, , add head in prerender method.
you can instance of viewed blog post code behind following code:
var manager = blogsmanager.getmanager(); var post = manager.getitemfromurl(typeof(blogpost), itemurl, out redirecturl) blogpost;
i hope helpful!
Comments
Post a Comment