Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 3449 | Rev 3750 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 3449 Rev 3452
Línea 11... Línea 11...
11
$this->headMeta()->appendName('twitter:description', "$share_description");
11
$this->headMeta()->appendName('twitter:description', "$share_description");
12
$this->headMeta()->appendName('twitter:image', "$share_image");
12
$this->headMeta()->appendName('twitter:image', "$share_image");
13
$this->headMeta()->appendName('twitter:image:src', "$share_image");
13
$this->headMeta()->appendName('twitter:image:src', "$share_image");
Línea 14... Línea 14...
14
 
14
 
15
$js = <<<JS
-
 
16
 
15
$js = <<<JS
17
const backendVars =  {
16
const backendVars =  {
18
    title: `$share_title`,
17
    title: `$share_title`,
19
    url: `$share_url`, 
18
    url: `$share_url`, 
20
    image: `$share_image`, 
19
    image: `$share_image`, 
21
    description: `$share_description`
20
    description: `$share_description`
22
}
21
}
-
 
22
JS;
23
JS;
23
 
24
$this->inlineScript()->appendScript($js);
24
$this->inlineScript()->appendScript($js);
25
$this->headLink()->appendStylesheet('/react-bundles/public-post/main.css');
25
$this->headLink()->appendStylesheet('/react-bundles/public-post/main.css');
26
$this->inlineScript()->appendFile('/react-bundles/public-post/publicPostViewBundle.js');
26
$this->inlineScript()->appendFile('/react-bundles/public-post/publicPostViewBundle.js');
27
?>
27
?>