2024-04-24 18:04:24 -04:00
|
|
|
---node
|
|
|
|
// <script>
|
|
|
|
const pagination = {
|
|
|
|
data: "collections",
|
|
|
|
size: 1,
|
|
|
|
alias: "tag",
|
|
|
|
filter: ["all", "posts"],
|
|
|
|
addAllPagesToCollections: true,
|
|
|
|
};
|
|
|
|
|
|
|
|
const eleventyComputed = {
|
|
|
|
title: "Tagged '{{ tag }}'",
|
|
|
|
permalink: function(data) {
|
|
|
|
return `/tags/${this.slugify(data.tag)}/`;
|
|
|
|
}
|
|
|
|
};
|
2024-01-13 18:32:15 -05:00
|
|
|
---
|
|
|
|
<h1>Tagged “{{ tag }}”</h1>
|
|
|
|
|
|
|
|
{% set postslist = collections[ tag ] %}
|
|
|
|
{% include "postslist.njk" %}
|
|
|
|
|
|
|
|
<p>See <a href="tags.njk">all tags</a>.</p>
|