cmsplugin-feed / cmsplugin_feed / templates / cmsplugin_feed / feed.html

The branch 'pagination' does not exist.
<h1>{{ instance.name }}</h1>
{% if is_paginated%}
    <div class="feed">
        {% for item in feed_entries.object_list %}
            <h2><a href='{{ item.link}}'>{{ item.title }}</a></h2>
            {{ item.summary|safe }}
        {% endfor %}
    </div>
    
    <div class="pagination">
        <span class="step-links">
            {% if feed_entries.has_previous %}
                <a href="?feed_{{ instance.id }}_page={{ feed_entries.previous_page_number }}">previous</a>
            {% endif %}
    
            <span class="current">
                Page {{ feed_entries.number }} of {{ feed_entries.paginator.num_pages }}.
            </span>
    
            {% if feed_entries.has_next %}
                <a href="?feed_{{ instance.id }}_page={{ feed_entries.next_page_number }}">next</a>
            {% endif %}
        </span>
    </div>
{% else %}
    <div class="feed">
        {% for item in feed_entries %}
            <h2><a href='{{ item.link}}'>{{ item.title }}</a></h2>
            {{ item.summary|safe }}
        {% endfor %}
    </div>
{% endif %}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.