forked from nyancrimew/maia.crimew.gay
notes
This commit is contained in:
parent
39b7cad25b
commit
201c98364b
1 changed files with 2 additions and 1 deletions
|
@ -48,7 +48,8 @@ module.exports = function (eleventyConfig) {
|
||||||
return str.split('/').map(part => encodeURI(part)).join('/')
|
return str.split('/').map(part => encodeURI(part)).join('/')
|
||||||
});
|
});
|
||||||
|
|
||||||
// this appears to potentially be dependent on rendering order
|
// TODO: this appears to potentially be dependent on rendering order
|
||||||
|
// TODO: actually add to the post ui
|
||||||
eleventyConfig.addFilter("related", function(obj) {
|
eleventyConfig.addFilter("related", function(obj) {
|
||||||
const post = this.ctx;
|
const post = this.ctx;
|
||||||
const posts = this.ctx.collections.posts.map(post => post.data);
|
const posts = this.ctx.collections.posts.map(post => post.data);
|
||||||
|
|
Loading…
Reference in a new issue