Updates to 0.8.1
This commit is contained in:
22
page-list.njk
Normal file
22
page-list.njk
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
pagination:
|
||||
data: collections.all
|
||||
size: 20
|
||||
alias: entries
|
||||
layout: layouts/home.njk
|
||||
permalink: /page-list/{% if pagination.pageNumber > 0 %}{{ pagination.pageNumber }}/{% endif %}
|
||||
---
|
||||
<table>
|
||||
<thead>
|
||||
<th>URL</th>
|
||||
<th>Page Title</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
{%- for entry in entries %}
|
||||
<tr>
|
||||
<td><a href="{{ entry.url }}"><code>{{ entry.url }}</code></a></td>
|
||||
<td>{{ entry.data.title }}</td>
|
||||
</tr>
|
||||
{%- endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
Reference in New Issue
Block a user