{% extends "base.htm" %}

{% block content %}

  <ol>
    {% for link in object_list %}
      <li><a href='{% url "link-detail" link.pk %}'>{{link.name}}</a></li>
      <p>{{link.description}}</p>
    {% endfor %}
  </ol>

  <hr>

  {% if paginator.num_pages > 1 %}
    <ol>
      {% for page in paginator.page_range %}
        {% if page == page_obj.number %}
          <li><em>{{page}}</em></li>
        {% else %}
          <li><a href='?page={{page}}'>{{page}}</a></li>
        {% endif %}
      {% endfor %}
    </ol>
  {% endif %}

{% endblock %}

{% extends "layout.html" %}

{% block content %}
<div id="content">
  <div class="grid-row">
    <div class="column-two-thirds">
      <ol>
        {% for link in object_list %}
          <li><a href='{% url "link-detail" link.pk %}'>{{link.name}}</a></li>
          <p>{{link.description}}</p>
        {% endfor %}
      </ol>

      <hr>

      {% if paginator.num_pages > 1 %}
        <ol>
          {% for page in paginator.page_range %}
            {% if page == page_obj.number %}
              <li><em>{{page}}</em></li>
            {% else %}
              <li><a href='?page={{page}}'>{{page}}</a></li>
            {% endif %}
          {% endfor %}
        </ol>
      {% endif %}
    </div>
  </div>
</div>
{% endblock %}

Put the link list into a content wrapper div to centre it
Put the link list into a content wrapper div to centre it
