<!DOCTYPE html>
<html lang="pt" dir="ltr">
	<head profile="http://gmpg.org/xfn/11">
		<?php if(is_single() || is_page()) { ?>
		<title><?php wp_title(''); ?><?php $category = get_the_category(); if($category[0]){ echo ' - '.$category[0]->cat_name.''; } ?> - <?php bloginfo('name'); ?></title>
		<?php  } else { ?>
		<title><?php wp_title('- ', true, 'right'); ?><?php bloginfo('name'); ?></title>
		<?php  }  ?>

		<?php get_template_part('inc/head');
			  get_template_part('inc/javas');
			  wp_head(); ?>
</head>
	<body <?php body_class(); ?>>
		<?php get_template_part('inc/menu'); ?>

		<header class="max-width">
			<figure class="logo center">
				<a href="<?php bloginfo('url'); ?>">
					<img src="<?php echo get_template_directory_uri(); ?>/imagens/Jasmine-logo.svg" alt="<?php bloginfo('name'); ?>" title="<?php bloginfo('name'); ?>">
				</a>
			</figure>
			
			<div class="menu_categories">
				<?php 
			wp_nav_menu ( 
			array(
			  'theme_location'  => 'Categorias',
			  'menu'            => 'Categorias',
			  'container'       => '',
			  'container_class' => '',
			  'container_id'    => '',
			  'menu_class'      => '',
			  'menu_id'         => '',
			  'echo'            => true,
			  'fallback_cb'     => 'wp_page_menu',
			  'before'          => '',
			  'after'           => '',
			  'link_before'     => '',
			  'link_after'      => '',
			  'items_wrap'      => '<ul>%3$s</ul>',
			  'depth'           => 0,
			  'walker'          => ''
			));
		  ?>
			</div>
			<div class="slider">
				<?php if (function_exists('rpf_display_slider')) echo rpf_display_slider(); ?>
			</div>
			
		</header>
		
		<section class="content max-width">
			<div class="inline articles">