title: Can Jekyll 3.0.x _include_ the index.html in page.url
body: <p>Seen many questions asking how to omit <code>index.html</code> in previous versions of Jekyll, but I do <em>want</em> to include it.</p>
  
  <p>Is there any config variable or other to make Jekyll 3.0.x include it?</p>
  
  <p>By page I'm refering to the object you get when doing something like</p>
  
  <pre><code>&lt;ul&gt;
  {% for page in site.pages %}
    &lt;li&gt;{{ page.url }}&lt;/li&gt;
  {% endfor %}
  &lt;/ul&gt;
  </code></pre>
  
  <p>Not to the current page.</p>
  
  <p>Found this solution, but it's not very practical:</p>
  
  <pre><code>    {% assign last_url_char = page.url | split: '' | last %}
      {% if last_url_char == '/' %}
      {%    assign page_url = page.url | append: "index.html" %}
      {% else %}
      {%    assign page_url = page.url %}
      {% endif %}
  </code></pre>