<?php if(isset($seo_contents)): ?>
    <meta name="title" Content="<?php echo e(__($seo_contents['meta_title']??@$general->sitename(trans($page_title)))); ?>">
    <meta name="description" content="<?php echo e(__($seo_contents['meta_description']??@$seo->description)); ?>">
    <meta name="keywords" content="<?php if($seo_contents['meta_keywords'] != null): ?><?php $__currentLoopData = $seo_contents['meta_keywords']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php echo e(__($key)); ?>,<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php elseif(isset($seo->keywords)): ?> <?php echo e(implode(',',$seo->keywords)); ?> <?php endif; ?>">

     
     <meta property="og:type" content="website">
     <meta property="og:title" content="<?php echo e(__($seo_contents['meta_title']??@$seo->social_title)); ?>">
     <meta property="og:description" content="<?php echo e(__($seo_contents['meta_description']??@$seo->social_description)); ?>">

     <meta property="og:image" content="<?php echo e($seo_contents['image']??getImage(imagePath()['seo']['path'] .'/'. @$seo->image)); ?>"/>

     <meta property="og:image:type" content="<?php echo e($seo_contents['image']??getImage(imagePath()['seo']['path'] .'/'. @$seo->image)); ?>" />

     <?php
        if(isset($seo_contents['image_size']) && $seo_contents['image_size'] != null){
            $social_image_size = explode('x', $seo_contents['image_size']);
        }else {
            $social_image_size = explode('x', imagePath()['seo']['size']);
        }
     ?>
     <meta property="og:image:width" content="<?php echo e($social_image_size[0]); ?>" />
     <meta property="og:image:height" content="<?php echo e($social_image_size[1]); ?>" />

     <meta property="og:url" content="<?php echo e(url()->current()); ?>">

<?php else: ?>
    <?php if(!empty($seo)): ?>
    <meta name="title" Content="<?php echo e($general->sitename(trans($page_title))); ?>">
    <meta name="description" content="<?php echo e($seo->description); ?>">
    <meta name="keywords" content="<?php echo e(implode(',',$seo->keywords)); ?>">

    
    <meta property="og:type" content="website">
    <meta property="og:title" content="<?php echo e($seo->social_title); ?>">
    <meta property="og:description" content="<?php echo e($seo->social_description); ?>">
    <meta property="og:image" content="<?php echo e(getImage(imagePath()['seo']['path'] .'/'. @$seo->image)); ?>"/>
    <?php if($seo->image): ?>
    <meta property="og:image:type" content="image/<?php echo e(pathinfo(getImage(imagePath()['seo']['path']) .'/'. @$seo->image)['extension']); ?>" />
    <?php endif; ?>
    <?php $social_image_size = explode('x', imagePath()['seo']['size']) ?>
    <meta property="og:image:width" content="<?php echo e($social_image_size[0]); ?>" />
    <meta property="og:image:height" content="<?php echo e($social_image_size[1]); ?>" />
    <meta property="og:url" content="<?php echo e(url()->current()); ?>">

    <?php endif; ?>
<?php endif; ?>


<meta name="twitter:card" content="summary_large_image">


<link rel="apple-touch-icon" href="<?php echo e(getImage(imagePath()['logoIcon']['path'] .'/logo.png')); ?>">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="<?php echo e($general->sitename($page_title)); ?>">
<?php /**PATH C:\xampp\htdocs\visermart_final\1.1\buyer_file\core\resources\views/partials/seo.blade.php ENDPATH**/ ?>