title: Output link to "parent page"?
body: <p>I have a collection <code>_colletion</code>. In there is a file <code>_collection/path/topic.md</code> and a folder <code>_collection/path/topic/</code> that includes lots of <code>.md</code> files with content. The permalinks for these files are <code>/path/topic</code> and <code>/path/topic/file-x</code> - so a parent page with a folder with the same name with multiple random pages in it.</p>
  
  <p>Now I want to output a link to <code>/path/topic</code> in all these <code>.md</code> files with the title of <code>topic.md</code> as link text:</p>
  
  <pre><code>---
  title: This is the page title defined in topic.md
  ---
  </code></pre>
  
  <p>should become
      <code>&lt;a href="/path/topic"&gt;This is the page title defined in topic.md&lt;/a&gt;</code></p>
  
  <p>How do I do that most easily?</p>
  
  <p>Can I somehow access the folder name <code>topic</code> of the <code>.md</code> files and use this to read <code>topic.md</code> and output it's <code>title</code> and also generate a link to it?</p>