<?php
/* Smarty version 4.5.2, created on 2024-04-15 10:02:55
  from '/Users/nikolaimv/Sites/admin.panel.11.loc/themes/template-ru/modules/meta.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.5.2',
  'unifunc' => 'content_661cb4ff9a2ad6_08887318',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '3a38fc2058df696be34f77701490f4c0f1fa6b1a' => 
    array (
      0 => '/Users/nikolaimv/Sites/admin.panel.11.loc/themes/template-ru/modules/meta.tpl',
      1 => 1702462526,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_661cb4ff9a2ad6_08887318 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/Users/nikolaimv/Sites/admin.panel.11.loc/includes/composer/vendor/smarty/smarty/libs/plugins/modifier.replace.php','function'=>'smarty_modifier_replace',),1=>array('file'=>'/Users/nikolaimv/Sites/admin.panel.11.loc/includes/composer/vendor/smarty/smarty/libs/plugins/modifier.regex_replace.php','function'=>'smarty_modifier_regex_replace',),2=>array('file'=>'/Users/nikolaimv/Sites/admin.panel.11.loc/includes/composer/vendor/smarty/smarty/libs/plugins/modifier.truncate.php','function'=>'smarty_modifier_truncate',),));
?>
	<title><?php if ((isset($_smarty_tpl->tpl_vars['title']->value))) {
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['title']->value, ENT_QUOTES, 'UTF-8', true);?>
 - <?php }
if ((isset($_smarty_tpl->tpl_vars['config']->value['website_name']))) {
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['config']->value['website_name'], ENT_QUOTES, 'UTF-8', true);
}?></title>

	<meta charset="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['config']->value['charset'], ENT_QUOTES, 'UTF-8', true);?>
">

    <?php if ($_smarty_tpl->tpl_vars['description']->value) {?><meta name="description" content="<?php echo $_smarty_tpl->tpl_vars['description']->value;?>
"><?php }?>
    <?php if ($_smarty_tpl->tpl_vars['keywords']->value) {?><meta name="keywords" content="<?php echo $_smarty_tpl->tpl_vars['keywords']->value;?>
"><?php }?>

	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
	<meta name="robots" content="index,follow">

	<meta property="og:locale" content="ru_RU">
	<meta property="og:site_name" content="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['config']->value['website_name'], ENT_QUOTES, 'UTF-8', true);?>
">
	<meta property="og:type" content="website">
	<meta property="twitter:card" content="summary_large_image">

    <?php if ((isset($_smarty_tpl->tpl_vars['article']->value)) && !empty($_smarty_tpl->tpl_vars['article']->value)) {?>
		<meta property="og:url" content="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['SITE_URL']->value, ENT_QUOTES, 'UTF-8', true);
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['article']->value['url'], ENT_QUOTES, 'UTF-8', true);?>
">
		<meta property="og:title" content="<?php echo $_smarty_tpl->tpl_vars['article']->value['title'];?>
">
        <?php if ((isset($_smarty_tpl->tpl_vars['description']->value)) && !empty($_smarty_tpl->tpl_vars['description']->value)) {?>
			<meta property="og:description" content="<?php echo $_smarty_tpl->tpl_vars['description']->value;?>
">
        <?php } elseif ($_smarty_tpl->tpl_vars['article']->value) {?>
			<meta property="og:description" content="<?php echo smarty_modifier_truncate(smarty_modifier_regex_replace(smarty_modifier_regex_replace(smarty_modifier_replace(preg_replace('!<[^>]*?>!', ' ', (string) $_smarty_tpl->tpl_vars['article']->value['content']),'&nbsp;',''),"!\s+!"," "),"/[\r\n]*/",''),300);?>
">
        <?php }?>
		<meta property="og:image" content="<?php if ((isset($_smarty_tpl->tpl_vars['article']->value['image']['large']))) {
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['GLOBAL_URL']->value, ENT_QUOTES, 'UTF-8', true);
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['article']->value['image']['large'], ENT_QUOTES, 'UTF-8', true);
} else {
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['GLOBAL_URL']->value, ENT_QUOTES, 'UTF-8', true);?>
/uploads/og-image.jpg<?php }?>">
		<link rel="image_src"  href="<?php if ((isset($_smarty_tpl->tpl_vars['article']->value['image']['large']))) {
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['GLOBAL_URL']->value, ENT_QUOTES, 'UTF-8', true);
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['article']->value['image']['large'], ENT_QUOTES, 'UTF-8', true);
} else {
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['GLOBAL_URL']->value, ENT_QUOTES, 'UTF-8', true);?>
/uploads/og-image.jpg<?php }?>">

		<meta property="twitter:url" content="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['SITE_URL']->value, ENT_QUOTES, 'UTF-8', true);
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['article']->value['url'], ENT_QUOTES, 'UTF-8', true);?>
">
		<meta property="twitter:title" content="<?php echo $_smarty_tpl->tpl_vars['title']->value;?>
">
		<meta property="twitter:description" content="<?php if ((isset($_smarty_tpl->tpl_vars['description']->value))) {
echo $_smarty_tpl->tpl_vars['description']->value;
}?>">
		<meta property="twitter:image" content="<?php if ((isset($_smarty_tpl->tpl_vars['article']->value['image']['large']))) {
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['GLOBAL_URL']->value, ENT_QUOTES, 'UTF-8', true);
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['article']->value['image']['large'], ENT_QUOTES, 'UTF-8', true);
} else {
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['GLOBAL_URL']->value, ENT_QUOTES, 'UTF-8', true);?>
/uploads/og-image.jpg<?php }?>">
    <?php } elseif ((isset($_smarty_tpl->tpl_vars['product']->value)) && !empty($_smarty_tpl->tpl_vars['product']->value)) {?>
	    <meta property="og:url" content="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['SITE_URL']->value, ENT_QUOTES, 'UTF-8', true);
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['product']->value['url'], ENT_QUOTES, 'UTF-8', true);?>
">
	    <meta property="og:title" content="<?php echo $_smarty_tpl->tpl_vars['product']->value['title'];?>
">
        <?php if ((isset($_smarty_tpl->tpl_vars['description']->value)) && !empty($_smarty_tpl->tpl_vars['description']->value)) {?>
		    <meta property="og:description" content="<?php echo $_smarty_tpl->tpl_vars['description']->value;?>
">
        <?php } elseif ($_smarty_tpl->tpl_vars['product']->value) {?>
		    <meta property="og:description" content="<?php echo smarty_modifier_truncate(smarty_modifier_regex_replace(smarty_modifier_regex_replace(smarty_modifier_replace(preg_replace('!<[^>]*?>!', ' ', (string) $_smarty_tpl->tpl_vars['product']->value['content']),'&nbsp;',''),"!\s+!"," "),"/[\r\n]*/",''),300);?>
">
        <?php }?>
	    <meta property="og:image" content="<?php if ((isset($_smarty_tpl->tpl_vars['product']->value['image']['large']))) {
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['GLOBAL_URL']->value, ENT_QUOTES, 'UTF-8', true);
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['product']->value['image']['large'], ENT_QUOTES, 'UTF-8', true);
} else {
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['GLOBAL_URL']->value, ENT_QUOTES, 'UTF-8', true);?>
/uploads/og-image.jpg<?php }?>">
	    <link rel="image_src"  href="<?php if ((isset($_smarty_tpl->tpl_vars['product']->value['image']['large']))) {
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['GLOBAL_URL']->value, ENT_QUOTES, 'UTF-8', true);
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['product']->value['image']['large'], ENT_QUOTES, 'UTF-8', true);
} else {
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['GLOBAL_URL']->value, ENT_QUOTES, 'UTF-8', true);?>
/uploads/og-image.jpg<?php }?>">

	    <meta property="twitter:url" content="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['SITE_URL']->value, ENT_QUOTES, 'UTF-8', true);
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['product']->value['url'], ENT_QUOTES, 'UTF-8', true);?>
">
	    <meta property="twitter:title" content="<?php echo $_smarty_tpl->tpl_vars['title']->value;?>
">
	    <meta property="twitter:description" content="<?php if ((isset($_smarty_tpl->tpl_vars['description']->value))) {
echo $_smarty_tpl->tpl_vars['description']->value;
}?>">
	    <meta property="twitter:image" content="<?php if ((isset($_smarty_tpl->tpl_vars['product']->value['image']['large']))) {
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['GLOBAL_URL']->value, ENT_QUOTES, 'UTF-8', true);
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['product']->value['image']['large'], ENT_QUOTES, 'UTF-8', true);
} else {
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['GLOBAL_URL']->value, ENT_QUOTES, 'UTF-8', true);?>
/uploads/og-image.jpg<?php }?>">
    <?php } elseif ((isset($_smarty_tpl->tpl_vars['project']->value)) && !empty($_smarty_tpl->tpl_vars['project']->value)) {?>
	    <meta property="og:url" content="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['SITE_URL']->value, ENT_QUOTES, 'UTF-8', true);
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['project']->value['url'], ENT_QUOTES, 'UTF-8', true);?>
">
	    <meta property="og:title" content="<?php echo $_smarty_tpl->tpl_vars['project']->value['title'];?>
">
        <?php if ((isset($_smarty_tpl->tpl_vars['description']->value)) && !empty($_smarty_tpl->tpl_vars['description']->value)) {?>
		    <meta property="og:description" content="<?php echo $_smarty_tpl->tpl_vars['description']->value;?>
">
        <?php } elseif ($_smarty_tpl->tpl_vars['project']->value) {?>
		    <meta property="og:description" content="<?php echo smarty_modifier_truncate(smarty_modifier_regex_replace(smarty_modifier_regex_replace(smarty_modifier_replace(preg_replace('!<[^>]*?>!', ' ', (string) $_smarty_tpl->tpl_vars['project']->value['content']),'&nbsp;',''),"!\s+!"," "),"/[\r\n]*/",''),300);?>
">
        <?php }?>
	    <meta property="og:image" content="<?php if ((isset($_smarty_tpl->tpl_vars['project']->value['image']['large']))) {
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['GLOBAL_URL']->value, ENT_QUOTES, 'UTF-8', true);
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['project']->value['image']['large'], ENT_QUOTES, 'UTF-8', true);
} else {
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['GLOBAL_URL']->value, ENT_QUOTES, 'UTF-8', true);?>
/uploads/og-image.jpg<?php }?>">
	    <link rel="image_src"  href="<?php if ((isset($_smarty_tpl->tpl_vars['project']->value['image']['large']))) {
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['GLOBAL_URL']->value, ENT_QUOTES, 'UTF-8', true);
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['project']->value['image']['large'], ENT_QUOTES, 'UTF-8', true);
} else {
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['GLOBAL_URL']->value, ENT_QUOTES, 'UTF-8', true);?>
/uploads/og-image.jpg<?php }?>">

	    <meta property="twitter:url" content="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['SITE_URL']->value, ENT_QUOTES, 'UTF-8', true);
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['project']->value['url'], ENT_QUOTES, 'UTF-8', true);?>
">
	    <meta property="twitter:title" content="<?php echo $_smarty_tpl->tpl_vars['title']->value;?>
">
	    <meta property="twitter:description" content="<?php if ((isset($_smarty_tpl->tpl_vars['description']->value))) {
echo $_smarty_tpl->tpl_vars['description']->value;
}?>">
	    <meta property="twitter:image" content="<?php if ((isset($_smarty_tpl->tpl_vars['project']->value['image']['large']))) {
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['GLOBAL_URL']->value, ENT_QUOTES, 'UTF-8', true);
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['project']->value['image']['large'], ENT_QUOTES, 'UTF-8', true);
} else {
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['GLOBAL_URL']->value, ENT_QUOTES, 'UTF-8', true);?>
/uploads/og-image.jpg<?php }?>">
    <?php } else { ?>
		<meta property="og:url" content="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['SITE_URL']->value, ENT_QUOTES, 'UTF-8', true);?>
">
		<meta property="og:title" content="<?php echo $_smarty_tpl->tpl_vars['title']->value;?>
">
	    <meta property="og:description" content="<?php if ((isset($_smarty_tpl->tpl_vars['description']->value))) {
echo $_smarty_tpl->tpl_vars['description']->value;
}?>">
		<meta property="og:image" content="<?php if ((isset($_smarty_tpl->tpl_vars['section']->value['image']['large']))) {
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['GLOBAL_URL']->value, ENT_QUOTES, 'UTF-8', true);
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['section']->value['image']['large'], ENT_QUOTES, 'UTF-8', true);
} else {
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['GLOBAL_URL']->value, ENT_QUOTES, 'UTF-8', true);?>
/uploads/og-image.jpg<?php }?>">
		<link rel="image_src"  href="<?php if ((isset($_smarty_tpl->tpl_vars['section']->value['image']['large']))) {
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['GLOBAL_URL']->value, ENT_QUOTES, 'UTF-8', true);
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['section']->value['image']['large'], ENT_QUOTES, 'UTF-8', true);
} else {
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['GLOBAL_URL']->value, ENT_QUOTES, 'UTF-8', true);?>
/uploads/og-image.jpg<?php }?>">

		<meta property="twitter:url" content="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['SITE_URL']->value, ENT_QUOTES, 'UTF-8', true);?>
">
		<meta property="twitter:title" content="<?php echo $_smarty_tpl->tpl_vars['title']->value;?>
">
	    <meta property="twitter:description" content="<?php if ((isset($_smarty_tpl->tpl_vars['description']->value))) {
echo $_smarty_tpl->tpl_vars['description']->value;
}?>">
		<meta property="twitter:image" content="<?php if ((isset($_smarty_tpl->tpl_vars['section']->value['image']['large']))) {
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['GLOBAL_URL']->value, ENT_QUOTES, 'UTF-8', true);
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['section']->value['image']['large'], ENT_QUOTES, 'UTF-8', true);
} else {
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['GLOBAL_URL']->value, ENT_QUOTES, 'UTF-8', true);?>
/uploads/og-image.jpg<?php }?>">
    <?php }?>

<?php }
}
