From 6e02ac8a5060856893ea8e2692de9b8096f6f202 Mon Sep 17 00:00:00 2001 From: Zach Leatherman Date: Fri, 5 Apr 2019 21:57:58 -0500 Subject: [PATCH] Updates to 0.8.1 --- css/index.css | 8 ++++++++ package.json | 2 +- page-list.njk | 22 ++++++++++++++++++++++ tags.njk | 2 ++ 4 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 page-list.njk diff --git a/css/index.css b/css/index.css index e3e8163..55195a8 100644 --- a/css/index.css +++ b/css/index.css @@ -51,6 +51,14 @@ header:after { display: table; clear: both; } +table { + margin: 1em 0; +} +table td, +table th { + padding-right: 1em; +} + pre, 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; diff --git a/package.json b/package.json index 437e237..dc032f5 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ }, "homepage": "https://github.com/11ty/eleventy-base-blog#readme", "devDependencies": { - "@11ty/eleventy": "^0.8.0", + "@11ty/eleventy": "^0.8.1", "@11ty/eleventy-plugin-rss": "^1.0.6", "@11ty/eleventy-plugin-syntaxhighlight": "^2.0.1", "luxon": "^1.12.0", diff --git a/page-list.njk b/page-list.njk new file mode 100644 index 0000000..0459d17 --- /dev/null +++ b/page-list.njk @@ -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 %} +--- + + + + + + +{%- for entry in entries %} + + + + +{%- endfor %} + +
URLPage Title
{{ entry.url }}{{ entry.data.title }}
diff --git a/tags.njk b/tags.njk index b315b40..5faadcd 100644 --- a/tags.njk +++ b/tags.njk @@ -8,6 +8,8 @@ pagination: - nav - post - posts + - tagList + addAllPagesToCollections: true layout: layouts/home.njk renderData: title: Tagged “{{ tag }}”