title: Add Class To Body On Homepage
body: <p>I'm trying to add a class to the body tag just on the homepage and that it. However, it's not working. What am I doing wring?</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      $(document).ready(function() {
            if(window.location.href===window.location.hostname) {
                 $("body").addClass("home");
             }
      });
  &lt;/script&gt;
  </code></pre>