title: How do I use metalsmith-permalinks in a Handlebars template
body: <p>I have collections set up and working properly.</p>
  
  <p>I am looping through a collection of projects</p>
  
  <pre><code>{{#each collections.projects}}
      &lt;a href="" class="portfolio-entry"&gt;
  
          &lt;div class="info-frame portfolio-title"&gt;
              &lt;h4&gt;{{this.title}}&lt;/h4&gt;
          &lt;/div&gt;
  
          &lt;div class="info-bits centerContext"&gt;
              &lt;ul class="centerElement"&gt;
                  &lt;li class="info-bit"&gt;{{this.skills}}&lt;/li&gt;
                  &lt;li class="info-bit"&gt;{{this.type}}&lt;/li&gt;
                  &lt;li class="info-bit"&gt;{{this.platform}}&lt;/li&gt;
              &lt;/ul&gt;
          &lt;/div&gt;
  
          &lt;div class="project-thumbnail"&gt;
              &lt;img src="{{this.thumbnail}}" alt=""&gt;
          &lt;/div&gt;
  
      &lt;/a&gt;
  {{/each}}
  </code></pre>
  
  <p>I would like to use metalsmith-permalinks in order to resolve each link's url</p>
  
  <p>I tried all kinds of lame things like this</p>
  
  <pre><code>&lt;a href="{{this.permalink}}" class="portfolio-entry"&gt;
  </code></pre>
  
  <p>and this</p>
  
  <pre><code>&lt;a href="{{this.url}}" class="portfolio-entry"&gt;
  </code></pre>
  
  <p>Of course - none of them works.</p>
  
  <p>I struggled to find any detailed information on how to actually use permalinks within your template anywhere online.</p>