$newline never
$if not isModal
  <!-- secondary navigation at the side -->
  ^{asidenav}
  <!-- navigation -->
  ^{navbar}

<div .main>

  <div .main__content uw-poc>

    $if not isModal
      <!-- breadcrumbs -->
      $if not $ Just HomeR == mcurrentRoute
        ^{breadcrumbsWgt}

    <div .main__content-body>

      $maybe headline <- contentHeadline
        <h1 .headline-one>
          <!-- $maybe back <- lastMaybe parents
            <a .breadcrumbs__link href="@{fst back}">#{snd back}  -->
          ^{headline}

      $if not isModal && hasPageActions
        <!-- page actions -->
        ^{pageaction}

      <!-- actual content -->
      ^{widget}

    <!-- alerts -->
    ^{alerts}

    <!-- footer -->
    $if not isModal
      ^{footer}
