title: Get Current Path of Page in Middleman Layout File
body: <p>Is it possible to retrieve the current path of a page in a middleman file?  For instance, if I have a layout file <code>layout.erb</code> with something like the following:</p>
  
  <pre><code>&lt;%= page.path %&gt;
  &lt;%= yield %&gt;
  </code></pre>
  
  <p>and a test file <code>index.html</code>:</p>
  
  <pre><code>Testing
  </code></pre>
  
  <p>then when Middleman rendered the page I would get something like:</p>
  
  <pre><code>/index.html
  Testing
  </code></pre>