title: Why is this template now showing up?
body: <p>I have a problem with showing a template on my Meteor.js app. It's <strong>website_list</strong>. For some reason it doesn't show, maybe you can help me out?</p>
  
  <p>I'm trying to show the website list from the websites MongoDB collection.</p>
  
  <p>HTML Code:</p>
  
  <pre><code>&lt;!-- master layout template --&gt;
  &lt;template name="ApplicationLayout"&gt;
      {{&gt; yield "navbar"}}
      {{&gt; yield "main"}}
  &lt;/template&gt;
  &lt;!-- / master layout template --&gt;
  
  &lt;!-- WELCOME --&gt;
  &lt;template name="welcome"&gt;
      &lt;div class="container"&gt; 
          &lt;div class="jumbotron"&gt;
              &lt;h1&gt;Welcome to Site Ace, {{username}}!&lt;/h1&gt;
              &lt;a href="/websites" class="btn btn-info"&gt;Enter&lt;/a&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/template&gt;
  &lt;!-- / WELCOME--&gt;
  
      &lt;!-- NAVBAR  - you will be putting the login functions here --&gt;
      &lt;template name="navbar"&gt;
      &lt;nav class="navbar navbar-default"&gt;
          &lt;div class="container-fluid"&gt;
              &lt;div class="navbar-header"&gt;
                  &lt;a class="navbar-brand" href="/"&gt;
                      Site Ace
                  &lt;/a&gt;
              &lt;/div&gt;
              &lt;ul class="nav navbar-nav login"&gt;
                  &lt;li&gt;
                      {{&gt; loginButtons}}
                  &lt;/li&gt;
              &lt;/ul&gt;
          &lt;/div&gt;
      &lt;/nav&gt;
  &lt;/template&gt;
  
  &lt;template name="websites"&gt;
      &lt;div class="container"&gt;
          {{&gt; website_form}}
          {{&gt; website_list}}
      &lt;/div&gt;
  &lt;/template&gt;
  &lt;!-- / NAVBAR --&gt;
  
  
  &lt;!-- WEBSITE FORM --&gt;
  &lt;template name="website_form"&gt;
      {{#if currentUser}}
      &lt;a class="btn btn-default js-toggle-website-form" href="#"&gt;
          &lt;span class="glyphicon glyphicon-plus" aria-hidden="true"&gt;&lt;/span&gt; Add a Website
      &lt;/a&gt;
      {{/if}}
      &lt;div id="website_form" class="hidden_div"&gt;
          &lt;form class="js-save-website-form"&gt;
            &lt;div class="form-group"&gt;
              &lt;label for="url"&gt;Site address&lt;/label&gt;
              &lt;input type="text" class="form-control" id="url" placeholder="http://blablabla.org"&gt;
            &lt;/div&gt;
            &lt;div class="form-group"&gt;
              &lt;label for="title"&gt;Title&lt;/label&gt;
              &lt;input type="text" class="form-control" id="title" placeholder="Mysite"&gt;
            &lt;/div&gt;
              &lt;div class="form-group"&gt;
              &lt;label for="description"&gt;Description&lt;/label&gt;
              &lt;input type="text" class="form-control" id="description" placeholder="I found this site really useful for ..."&gt;
            &lt;/div&gt;
              &lt;button type="submit" class="btn btn-default js-"&gt;Submit&lt;/button&gt;
          &lt;/form&gt;
      &lt;/div&gt;
  &lt;/template&gt;
  &lt;!-- / WEBSITE FORM --&gt;
  
  &lt;!-- WEBSITE LIST --&gt;
  &lt;template name="website_list"&gt;
      &lt;ol&gt;
      {{#each websites}}
          {{&gt;website_item}}
      {{/each}}
      &lt;/ol&gt;
  &lt;/template&gt;
  &lt;!-- / WEBSITE LIST --&gt;
  
  &lt;!-- WEBSITE ITEM --&gt;
  &lt;template name="website_item"&gt;
      &lt;li&gt;
          &lt;a href="{{url}}"&gt;{{title}}&lt;/a&gt;
          &lt;p&gt;
              {{description}}
          &lt;/p&gt;
          &lt;p&gt;
              &lt;a href="/details/{{_id}}" class="btn btn-info"&gt;
                  Details
              &lt;/a&gt;
              &lt;a href="#" class="btn btn-success js-upvote"&gt;
                  &lt;span class="glyphicon glyphicon-arrow-up" aria-hidden="true"&gt;&lt;/span&gt;
              &lt;/a&gt;
              &lt;a href="#" class="btn btn-danger js-downvote"&gt;
                  &lt;span class="glyphicon glyphicon-arrow-down" aria-hidden="true"&gt;&lt;/span&gt;
              &lt;/a&gt;
          &lt;/p&gt;
          &lt;!-- you will be putting your up and down vote buttons in here! --&gt;
      &lt;/li&gt;
  &lt;/template&gt;
  &lt;!-- / WEBSITE ITEM --&gt;
  </code></pre>
  
  <p>JS Code:</p>
  
  <pre><code>// SECURITY
  
  Websites = new Mongo.Collection("websites");
  
  // set up security on Websites collection
  Websites.allow({
  
      // we need to be able to update websites for ratings.
      update:function(userId, doc){
          console.log("Testing security on website update");
          if (Meteor.user()){// they are logged in
              return true;
          } else {// user not logged in - do not let them update (rate) the website
              return false;
          }
      },
      insert:function(userId, doc){
          console.log("Testing security on website insert");
          if (Meteor.user()){ // they are logged in
              if (userId != doc.createdBy){ // the user is messing around
                  return false;
              }
              else{ // the user is logged in, the website has the correct user id
                  return true;
              }
          }
          else{ // user not logged in
              return false;
          }
      },
      remove:function(userId, doc){
          return true;
      }
  })
  
  // / SECURITY
  
  if (Meteor.isClient) {
  
      /////
      // ROUTERS
      /////
  
      // GLOBAL LAYOUT
      Router.configure({
          layoutTemplate: 'ApplicationLayout'
      });
  
      // ROUTES
      Router.route('/', function() {
          this.render('welcome', { // welcome is the template to render
              to:"main" // main is the template to render welcome INTO
          });
      });
  
      Router.route('/websites', function() {
          this.render('navbar', {
              to:"navbar"
          });
          this.render('websites', {
              to:"main"
          });
      });
  
      Router.route('/websites/:_id', function () {
          this.render('navbar', {
              to:"navbar"
          });
          this.render('image', {
              to:"main", 
          data:function(){
              return Websites.findOne({_id:this.params._id});
          }
          });
      });
  /////
  // STARTUP (Creating Websites)
  /////
  
  if (Meteor.isServer) {
      // start up function that creates entries in the Websites databases.
    Meteor.startup(function () {
      // code to run on server at startup
      if (!Websites.findOne()){
          console.log("No websites yet. Creating starter data.");
          Websites.insert({
              title:"Goldsmiths Computing Department", 
              url:"http://www.gold.ac.uk/computing/", 
              description:"This is where this course was developed.", 
              createdOn:new Date()
          });
          Websites.insert({
              title:"University of London", 
              url:"http://www.londoninternational.ac.uk/courses/undergraduate/goldsmiths/bsc-creative-computing-bsc-diploma-work-entry-route", 
              description:"University of London International Programme.", 
              createdOn:new Date()
          });
          Websites.insert({
              title:"Coursera", 
              url:"http://www.coursera.org", 
              description:"Universal access to the world’s best education.", 
              createdOn:new Date()
          });
          Websites.insert({
              title:"Google", 
              url:"http://www.google.com", 
              description:"Popular search engine.", 
              createdOn:new Date()
          });
      }
    });
  }
  </code></pre>