[[Steps To Convert MT To Bootstrap Part 5|Previous]]\\

First we do the ''Entry'' template\\

Put in the ''Bootstrap'' header
<code>
<mt:BlogParentWebsite> 
<$mt:WebsiteID setvar="website_id"$> 
</mt:BlogParentWebsite> 
<$mt:Include module="Website Data" blog_id="$website_id"$>
<!DOCTYPE html>
<html lang="en">
<head>
</code>
put the ''Bootstrap Head'' call after the ''HTML Head''
<code>
 <$mt:Include module="Bootstrap Head"$>
</code>
and the website name into the ''title'' tag
<code>
<$mt:GetVar name="website_name"$> | 
</code>

Put the usual ''Fixed Navbar'' code after the ''body'' tag\\
Leave the ''container'' div and the ''Banner Header'' call\\
Remove the next four ''div''s and sustitute the following
<code>
  <div class="row">
   <div class="col-md-8">
    <div id="content">
</code>

Edit down to after the ''<$mt:Include module="Comments"$>'', adding one more ''div'' to the two ''div''s after it.

The rest is
<code>
   </div>
   <div class="col-md-4">
<$mt:Include module="Sidebar"$>
   </div>
  </div>
 </div>

<$mt:Include module="Banner Footer"$>

<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<$mt:Include module="Bootstrap Javascript"$>
</code>

Do similar mods for the rest of the ''Archive Templates''