title: How to link to a page with page.url without the html extension in Jekyll?
body: <p>I'm building a website in Jekyll. To remove html extension in posts I added the following to _config.yml</p>
  
  <pre><code>permalink:        /kb/:title
  </code></pre>
  
  <p>To remove html extension from pages, I created folders for each page, and placed an index.html file in each page folder.</p>
  
  <p>Now the posts and pages work without html extension, but when I link to a page with page.url it returns the whole link (/kb/index.html) instead of just /kb.</p>
  
  <p>What variable can I use to link to a page without html extension?</p>