Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Listing template
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Turner committed Sep 27, 2016
1 parent 527e166 commit bf28636
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions icekit/layouts/templates/icekit/layouts/listing.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{% extends "icekit/layouts/default.html" %}

{% load placeholder_tags fluent_contents_tags %}

{% block content %}
{{ block.super }}

<ul>
{% for item in page.get_items %}
<li><a href="{{ item.get_absolute_url }}">
{{ item.title|safe }}
</a></li>
{% empty %}
<li>There are no items to show on this page</li>
{% endfor %}
</ul>

{% endblock %}

0 comments on commit bf28636

Please sign in to comment.