<!DOCTYPE html>
<html <?php language_attributes(); ?>>

<head>
    <?php $favicon = yc_get_option('site_favicon');
    $favicon = (!empty($favicon)) ? wp_get_attachment_image_url($favicon, 'full') : THEME_TEMPLATE_URL . '/assets/front/img/favicon.png'; ?>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="theme-color" content="#f58540">
    <meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=no" />
    <link rel="alternate" type="application/rss+xml" title="<?php echo YC_NAME; ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
    <?php wp_head(); ?>
    <link rel="shortcut icon" type="image/ico" href="<?php echo $favicon; ?>" />
</head>

<body <?php body_class(); ?> id="top">
    <?php wp_body_open(); ?>