<meta http-equiv="Content-Type" content="text/html; image/svg+xml; charset=<?php bloginfo('charset'); ?>" />
<meta name="geo.region" content="BR" />
<meta name="description" content="<?php bloginfo('description'); ?>"/>
<link rel="canonical" href="<?php bloginfo('url'); ?>" />
<meta property="og:locale" content="pt_BR" />
<meta property="og:type" content="website" />
<meta property="og:site_name" content="<?php bloginfo('name'); ?>" />
<meta property="og:title" content="<?php wp_title('- ', true, 'right'); ?><?php bloginfo('name'); ?>" />
<meta property="og:description" content="<?php the_excerpt(); ?>" />
<meta property="og:url" content="<?php the_permalink(); ?>" />
<meta property="og:image" content="<?php the_post_thumbnail_url( 'full' ); ?>">
<meta property="og:image:type" content="image/jpeg">
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:description" content="<?php bloginfo('description'); ?>" />
<meta name="twitter:title" content="<?php wp_title('- ', true, 'right'); ?><?php bloginfo('name'); ?>" />
<meta name="twitter:image" content="<?php the_post_thumbnail_url( 'full' ); ?>" />

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<?php if ( is_singular() ) {global $wp_query; $post_author = get_userdata($wp_query->post->post_author)->display_name; echo '<meta name="author" content="' . $post_author . '">';}?>
<meta name="robots" content="index, follow" />

<!-- metatags -->

<?php if(is_single() || is_page()) { ?>	

<meta property="og:type" content="article">
<meta property="article:author" content="<?php the_author(); ?>">
<meta property="article:section" content="<?php
foreach((get_the_category()) as $category) {
echo $category->cat_name . ' ';
}
?>">
<meta property="article:tag" content=" <?php
$posttags = get_the_tags();
if ($posttags) {
 foreach($posttags as $tag) {
    echo '' .$tag->name. ', '; 
  }
}
?>">

<?php  } else { ?>


<?php  }  ?>

<!-- favicon -->
<link rel="shortcut icon" href="<?php echo get_template_directory_uri(); ?>/imagens/favicon.ico" />


<!-- fontes -->
<script src="https://use.fontawesome.com/192294c12f.js"></script>
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700|Open+Sans:400,400i,700,700i|Poppins:300,400,500,600,700" rel="stylesheet">


<!-- feeds e style -->
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php style_or_min_style(); ?>

<!-- google analytics -->