Implement now burning
This commit is contained in:
@ -204,7 +204,15 @@ export default async function (eleventyConfig) {
|
||||
eleventyConfig.addFilter("filterTagList", function filterTagList(tags) {
|
||||
return (tags || []).filter(
|
||||
(tag) =>
|
||||
["all", "nav", "post", "posts", "gallery", "quiz"].indexOf(tag) === -1,
|
||||
[
|
||||
"all",
|
||||
"nav",
|
||||
"post",
|
||||
"posts",
|
||||
"gallery",
|
||||
"quiz",
|
||||
"nowBurning",
|
||||
].indexOf(tag) === -1,
|
||||
);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user