예제 #1
0
파일: config.php 프로젝트: BigIron5/wedocs
/**
 * .main classes
 */
function wedocs_main_class()
{
    if (wedocs_display_sidebar()) {
        // Classes on pages with the sidebar
        $class = 'col-sm-8';
    } else {
        // Classes on full width pages
        $class = 'col-sm-12';
    }
    return $class;
}
예제 #2
0
파일: base.php 프로젝트: BigIron5/wedocs
}
?>

    <div class="wrap container" role="document">
        <div class="content row">
            <main class="main <?php 
echo wedocs_main_class();
?>
" role="main">
                <?php 
include roots_template_path();
?>
            </main><!-- /.main -->

            <?php 
if (wedocs_display_sidebar()) {
    ?>
                <aside class="sidebar <?php 
    echo wedocs_sidebar_class();
    ?>
" role="complementary">
                    <?php 
    include roots_sidebar_path();
    ?>
                </aside><!-- /.sidebar -->
            <?php 
}
?>

        </div><!-- /.content -->
    </div><!-- /.wrap -->