<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="generator" content="pandoc">
    <title>Software Carpentry: $pagetitle$</title>
    $header$
  </head>
  <body class="lesson">
    <div class="container card">
      $banner$
      <div class="row">
        <div class="col-md-10 col-md-offset-1">
          <h1 class="title">$title$</h1>
          $if(subtitle)$<h2 class="subtitle">$subtitle$</h2>$endif$
$body$
        </div>
      </div>
      $footer$
    </div>
    $javascript$
  </body>
</html>

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="generator" content="pandoc">
    <title>Software Carpentry: $pagetitle$</title>
    $header$
  </head>
  <body class="lesson">
    <div class="container card">
      $banner$
      <article>
      <div class="row">
        <div class="col-md-10 col-md-offset-1">
          <h1 class="title">$title$</h1>
          $if(subtitle)$<h2 class="subtitle">$subtitle$</h2>$endif$
$body$
        </div>
      </div>
      </article>
      $footer$
    </div>
    $javascript$
  </body>
</html>

Add article tag as wrap for lesson content
Add article tag as wrap for lesson content
