- {% asyncAll filename, project in awesome.dist %}
+ {% asyncAll project in awesome %}
{{ component("card", {
url: false,
diff --git a/content/fr/index.njk b/content/fr/index.njk
index 66bb7f93..d0316f17 100644
--- a/content/fr/index.njk
+++ b/content/fr/index.njk
@@ -47,7 +47,7 @@ eleventyNavigation:
}) }}
- {% set randomSourceCode = awesome.dist | values | random %}
+ {% set randomSourceCode = awesome | random %}
{% if randomSourceCode.logo %}
{% set randomSourceCodeImage = {
src: randomSourceCode.logo,
diff --git a/eleventy.config.js b/eleventy.config.js
index c7079ccc..9e12bb7d 100644
--- a/eleventy.config.js
+++ b/eleventy.config.js
@@ -147,8 +147,6 @@ module.exports = function (eleventyConfig) {
return collection.find(post => post.fileSlug === slug);
});
- eleventyConfig.addFilter("values", object => Object.values(object));
-
// Customize Markdown library settings:
eleventyConfig.amendLibrary("md", mdLib => {
mdLib.use(markdownItAnchor, {