Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@bpalm
Created July 10, 2017 17:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bpalm/1689f9b0cf97b6b972cfb4e048a81b4b to your computer and use it in GitHub Desktop.
Save bpalm/1689f9b0cf97b6b972cfb4e048a81b4b to your computer and use it in GitHub Desktop.
Page tag listing (paginated)
<div id="headline">
<h2>Pages tagged "{{ tag.name }}"</h2>
</div>
<hr/>
<div id="content">
<div class="tag tag-{{ tag.id }}">
{% for post in tag.most_recent_published_pages %}
{% include "page_excerpt" with post %}
<hr />
{% endfor %}
</div>
{{ tag.most_recent_published_pages | paginate }}
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment