Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- (function(){
- var data = {
- "@context": "http://schema.org",
- "@type": "NewsArticle",
- "headline": {{title}},
- "alternativeHeadline": "",
- "image": {{url}},
- "datePublished": {{MicroDate}},
- "description": {{MicroDesc}},
- "articleBody": {{MicroBody}}
- }
- var script = document.createElement('script');
- script.type = "application/ld+json";
- script.innerHTML = JSON.stringify(data);
- document.getElementsByTagName('head')[0].appendChild(script);
- })(document);
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement