Updates to 0.8.1
This commit is contained in:
parent
d2439adf61
commit
6e02ac8a50
@ -51,6 +51,14 @@ header:after {
|
|||||||
display: table;
|
display: table;
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
table {
|
||||||
|
margin: 1em 0;
|
||||||
|
}
|
||||||
|
table td,
|
||||||
|
table th {
|
||||||
|
padding-right: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
pre,
|
pre,
|
||||||
code {
|
code {
|
||||||
font-family: Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace;
|
font-family: Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace;
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/11ty/eleventy-base-blog#readme",
|
"homepage": "https://github.com/11ty/eleventy-base-blog#readme",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@11ty/eleventy": "^0.8.0",
|
"@11ty/eleventy": "^0.8.1",
|
||||||
"@11ty/eleventy-plugin-rss": "^1.0.6",
|
"@11ty/eleventy-plugin-rss": "^1.0.6",
|
||||||
"@11ty/eleventy-plugin-syntaxhighlight": "^2.0.1",
|
"@11ty/eleventy-plugin-syntaxhighlight": "^2.0.1",
|
||||||
"luxon": "^1.12.0",
|
"luxon": "^1.12.0",
|
||||||
|
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>
|
Loading…
Reference in New Issue
Block a user