<div id="dw__msgarea" class="small">
      <?php 
bootstrap3_html_msgarea();
?>
    </div>

    <main class="main row" role="main">

      <?php 
bootstrap3_sidebar_include('left');
?>

      <!-- ********** CONTENT ********** -->
      <article id="dokuwiki__content" class="<?php 
echo bootstrap3_container_grid();
?>
" <?php 
echo bootstrap3_conf('semantic') ? sprintf('itemscope itemtype="http://schema.org/%s" itemref="dw__license"', bootstrap3_conf('schemaOrgType')) : '';
?>
>

        <div class="<?php 
echo $page_on_panel ? 'panel panel-default' : 'no-panel';
?>
" <?php 
echo bootstrap3_conf('semantic') ? 'itemprop="articleBody"' : '';
?>
>
          <div class="page <?php 
echo $page_on_panel ? 'panel-body' : '';
$bootstrapTheme = bootstrap3_conf('bootstrapTheme');
$customTheme = bootstrap3_conf('customTheme');
$bootswatchTheme = bootstrap3_conf('bootswatchTheme');
$pageOnPanel = bootstrap3_conf('pageOnPanel');
$fluidContainer = bootstrap3_conf('fluidContainer');
$fluidContainerBtn = bootstrap3_conf('fluidContainerBtn');
$showPageInfo = bootstrap3_conf('showPageInfo');
$showBadges = bootstrap3_conf('showBadges');
$semantic = bootstrap3_conf('semantic');
$schemaOrgType = bootstrap3_conf('schemaOrgType');
$leftSidebarGrid = bootstrap3_conf('leftSidebarGrid');
$rightSidebarGrid = bootstrap3_conf('rightSidebarGrid');
$showLandingPage = bootstrap3_conf('showLandingPage');
$hideInThemeSwitcher = bootstrap3_conf('hideInThemeSwitcher');
$useLocalBootswatch = bootstrap3_conf('useLocalBootswatch');
$contentGrid = bootstrap3_container_grid();
$bootstrapStyles = array();
$tplConfigJSON = array('tableFullWidth' => (int) bootstrap3_conf('tableFullWidth'), 'tableStyle' => bootstrap3_conf('tableStyle'), 'tagsOnTop' => (int) bootstrap3_conf('tagsOnTop'), 'useAnchorJS' => (int) bootstrap3_conf('useAnchorJS'));
$JSINFO['bootstrap3'] = $tplConfigJSON;
if ($fluidContainerBtn) {
    $fluidContainer = bootstrap3_fluid_container_button();
}
// Display a landing page (set the pageOnPanel and showSidebar config to "off")
if ($showLandingPage && (bool) preg_match_all(bootstrap3_conf('landingPages'), $ID)) {
    $showSidebar = false;
    $pageOnPanel = false;
}
if ($showThemeSwitcher && $bootstrapTheme == 'bootswatch') {
    if (get_doku_pref('bootswatchTheme', null) !== null && get_doku_pref('bootswatchTheme', null) !== '') {
        $bootswatchTheme = get_doku_pref('bootswatchTheme', null);
    }