<?php
    require_once( '../../../wp-load.php' );
    add_filter('show_admin_bar', '__return_false');
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
    <meta charset="<?php bloginfo('charset') ?>" />
    @if( (favicon+'' != '')) {<link href="@favicon" rel="icon" type="image/x-icon" />}
    <title><?php wp_title('|', true, 'right'); bloginfo('name'); ?></title>
    <?php
    $stylecss_path = get_bloginfo('stylesheet_url');
    if (isset($_GET['preview'])){
        $stylecss_path .= '?seed=' . time();
    }
    ?>
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <?php
    remove_action('wp_head', 'wp_generator');
    if (is_singular() && get_option('thread_comments')) {
        wp_enqueue_script('comment-reply');
    }
    wp_head();
    ?>
    @includeHead("/jQuery")
    @includeHead("/bootstrap")
    @includeHead("/prototypes")
    @includeHead("../body")
    <link rel="stylesheet" href="<?php echo $stylecss_path; ?>" media="screen" />
    <style>
        @additionalCss
    </style>
    <style>
        html{
            margin-top: 30px !important;
        }
        .hero-unit {
            background-color: #EEEEEE;
            border-radius: 6px 6px 6px 6px;
            color: inherit;
            font-size: 16px;
            font-weight: 200;
            line-height: 27px;
            margin-bottom: 30px;
            padding: 60px;
        }
        .hero-unit li {
            line-height: 27px;
            white-space: normal;
        }
    </style>
</head>
<body <?php body_class(); ?>>

<div class="container">
    <div class="hero-unit">
        <h3>Blog Template is disabled.</h3>
        <p>
            There can be two reasons:
        </p>

        <ol>
            <li>WordPress shows your posts on the home page of your site. So you need to edit Home template now.</li>
            <li>Blog page is turned off in WordPress options.</li>
        </ol>

        <p>
            If you want to turn on blog page you should do these steps:
        </p>

        <ol>
            <li>
                <strong>Create a Front Page</strong>: In Pages choose <strong>Add New Page</strong>.
                <ul>
                    <li>Title it "Home".</li>
                    <li>Add content you would like to see within the content area of the static front page,
                        or leave it blank if it is a Dynamic front page.</li>
                    <li>Publish the Page.</li>
                </ul>
            </li>
            <li>
                <strong>Create a Blog Page</strong>: If choosing to add a blog, choose <strong>Add New Page</strong> again.
                <ul>
                    <li>Title it "Blog," "News," "Articles," or an appropriate name.</li>
                    <li>DO NOT add content. Leave it blank. Any content here will be ignored -- only the Title is used.</li>
                    <li>Publish the Page.</li>
                </ul>
            </li>
            <li>
                <strong>Go to</strong> <a href="../../../wp-admin/options-reading.php" target="_blank">Administration > Settings > Reading</a> <strong>panel</strong>.
                <ul>
                    <li>Set <strong>Front page displays</strong> to a <strong>static page</strong>.</li>
                    <li>In the drop down menu for <strong>Front Page</strong> select "Home." </li>
                    <li>In the drop down menu for <strong>Posts page</strong> select "Blog" or the name you created.</li>
                    <li>Save changes.</li>
                </ul>
            </li>
        </ol>

        <p>
            <img src="images/options-reading.png" alt="Reading Options" />
        </p>

    </div>
</div>

<div id="wp-footer">
    <?php wp_footer(); ?>
    <!-- <?php printf(__('%d queries. %s seconds.', THEME_NS), get_num_queries(), timer_stop(0, 3)); ?> -->
</div>
</body>
</html>