title: Jekyll - Map multiple URLs to same Jekyll file
body: <p>I have a custom page for Jekyll: I have a <code>news.markdown</code> file like the following:</p>
  
  <pre><code>{% assign posts_per_page = 5 %}
  {% for post in site.categories.ro offset:pagination_skip limit:posts_per_page %}
      ...
      {{ post.content }}
      ...
  {% endfor %}
  {% include nav.html %}
  </code></pre>
  
  <p>Where <code>nav.html</code> is in the <code>_includes</code> directory and it looks like this:</p>
  
  <pre><code>{% if pagination_skip %}
    {% capture pagination_skip %}
      {{pagination_skip | plus: posts_per_page}}
    {% endcapture %}
  {% else %}
    {% assign pagination_skip = posts_per_page %}
  {% endif %}
  
  &lt;div class="next"&gt;
    &lt;a rel="prev" href="{{site.basepath}}ro/news/{{ pagination_skip }}"&gt;Next&lt;/a&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>What I want is for the url <code>.../ro/news/5</code> to be mapped to the content of <code>news.markdown</code> such that <code>pagination_skip</code> there is <code>5</code>. Same for 10, 15, whatever. Moreover, <code>.../ro/news/0</code> should be the same as <code>.../ro/news/</code> if possible.</p>
  
  <p>Can I do that? How?</p>
  
  <p>I'd like to use as few extensions as possible.</p>