| Línea 3... |
Línea 3... |
| 3 |
$this->headTitle("$share_title");
|
3 |
$this->headTitle("$share_title");
|
| 4 |
$this->headMeta()->appendName('description', $share_title);
|
4 |
$this->headMeta()->appendName('description', $share_title);
|
| 5 |
$this->headMeta()->appendProperty('og:title', $share_title);
|
5 |
$this->headMeta()->appendProperty('og:title', $share_title);
|
| 6 |
$this->headMeta()->appendProperty('og:url', $share_url);
|
6 |
$this->headMeta()->appendProperty('og:url', $share_url);
|
| 7 |
$this->headMeta()->appendProperty('og:description', $share_description);
|
7 |
$this->headMeta()->appendProperty('og:description', $share_description);
|
| 8 |
$meta = $this->headMeta();
|
8 |
$this->headMeta()->appendProperty('og:image', $share_image, array(
|
| 9 |
$meta->setName('itemprop', 'image');
|
9 |
'itemprop' => 'image',
|
| 10 |
$meta->appendProperty('og:image', $share_image);
|
- |
|
| - |
|
10 |
));
|
| 11 |
$this->headMeta()->appendProperty('og:image:secure_url', $share_image);
|
11 |
$this->headMeta()->appendProperty('og:image:secure_url', $share_image);
|
| 12 |
$this->headMeta()->appendProperty('og:image:width', "300");
|
12 |
$this->headMeta()->appendProperty('og:image:width', "300");
|
| 13 |
$this->headMeta()->appendProperty('og:image:height', "300");
|
13 |
$this->headMeta()->appendProperty('og:image:height', "300");
|
| 14 |
$this->headMeta()->appendProperty('og:type', 'website');
|
14 |
$this->headMeta()->appendProperty('og:type', 'website');
|
| 15 |
$this->headMeta()->appendProperty('og:locale', 'es_ES');
|
15 |
$this->headMeta()->appendProperty('og:locale', 'es_ES');
|
| Línea 39... |
Línea 39... |
| 39 |
|
39 |
|
| 40 |
$this->inlineScript()->appendScript($js);
|
40 |
$this->inlineScript()->appendScript($js);
|
| 41 |
$this->headLink()->appendStylesheet('/react-bundles/public-post/main.css');
|
41 |
$this->headLink()->appendStylesheet('/react-bundles/public-post/main.css');
|
| 42 |
$this->inlineScript()->appendFile('/react-bundles/public-post/publicPostViewBundle.js');
|
42 |
$this->inlineScript()->appendFile('/react-bundles/public-post/publicPostViewBundle.js');
|
| - |
|
43 |
?>
|
| - |
|
44 |
|
| - |
|
45 |
<link itemprop="thumbnailUrl" href="$share_image">
|
| - |
|
46 |
|
| - |
|
47 |
<span itemprop="thumbnail" itemscope itemtype="http://schema.org/ImageObject">
|
| - |
|
48 |
<link itemprop="url" href="$share_image">
|
| - |
|
49 |
</span>
|
| 43 |
?>
|
50 |
|
| 44 |
<div id="public-post">
|
51 |
<div id="public-post">
|
| 45 |
</div>
|
52 |
</div>
|