Rev 3750 | Rev 3835 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
<?php$this->headTitle("$share_description");$this->headMeta()->appendProperty('og:image', "$share_image");$this->headMeta()->appendName('og:url', "$share_url");$this->headMeta()->appendName('og:title', "$share_title");$this->headMeta()->appendName('og:description', "$share_description");$this->headMeta()->appendName('og:image', "$share_image");//summary_large_image$this->headMeta()->appendName('twitter:card', "summary");$this->headMeta()->appendName('twitter:title', "$share_title");$this->headMeta()->appendName('twitter:description', "$share_description");$this->headMeta()->appendName('twitter:image', "$share_image");$this->headMeta()->appendName('twitter:image:src', "$share_image");$js = <<<JSconst backendVars = {title: `$share_title`,url: `$share_url`,image: `$share_image`,description: `$share_description`}JS;$this->inlineScript()->appendScript($js);$this->headLink()->appendStylesheet('/react-bundles/public-post/main.css');$this->inlineScript()->appendFile('/react-bundles/public-post/publicPostViewBundle.js');?><div id="public-post"></div>