fix: chemin CSS en absolu
parent
f7cf7438b2
commit
7d86a3c674
|
@ -1,12 +1,15 @@
|
|||
const { DateTime } = require("luxon");
|
||||
|
||||
const pluginNavigation = require("@11ty/eleventy-navigation");
|
||||
const relativeUrl = require("eleventy-filter-relative-url");
|
||||
|
||||
module.exports = function(eleventyConfig) {
|
||||
eleventyConfig.addPlugin(pluginNavigation);
|
||||
|
||||
eleventyConfig.addPassthroughCopy("css");
|
||||
|
||||
eleventyConfig.addFilter('url', relativeUrl);
|
||||
|
||||
eleventyConfig.addFilter("readableDate", dateObj => {
|
||||
return DateTime.fromJSDate(dateObj, {zone: 'utc'}).setLocale("fr").toFormat("dd LLL yyyy");
|
||||
});
|
||||
|
|
|
@ -8,11 +8,10 @@
|
|||
"name": "nous-toustes",
|
||||
"version": "0.0.1",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@11ty/eleventy-navigation": "^0.3.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@11ty/eleventy": "^1.0.1"
|
||||
"@11ty/eleventy": "^1.0.1",
|
||||
"@11ty/eleventy-navigation": "^0.3.3",
|
||||
"eleventy-filter-relative-url": "^0.2.1"
|
||||
}
|
||||
},
|
||||
"node_modules/@11ty/dependency-tree": {
|
||||
|
@ -77,6 +76,7 @@
|
|||
"version": "0.3.3",
|
||||
"resolved": "https://registry.npmjs.org/@11ty/eleventy-navigation/-/eleventy-navigation-0.3.3.tgz",
|
||||
"integrity": "sha512-O5C/NbDeTBnHQvDYZDr0Va6a7mEzifPUL1XRiqyKIAQqXZJsX/2K13PFLhX7t6kQRT1w6D0TSQyiT8skXbgWKA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"dependency-graph": "^0.11.0"
|
||||
},
|
||||
|
@ -833,6 +833,7 @@
|
|||
"version": "0.11.0",
|
||||
"resolved": "https://registry.npmjs.org/dependency-graph/-/dependency-graph-0.11.0.tgz",
|
||||
"integrity": "sha512-JeMq7fEshyepOWDfcfHK06N3MhyPhz++vtqWhMT5O9A3K42rdsEDpfdVqjaqaAhsw6a+ZqeDvQVtD0hFHQWrzg==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": ">= 0.6.0"
|
||||
}
|
||||
|
@ -942,6 +943,15 @@
|
|||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/eleventy-filter-relative-url": {
|
||||
"version": "0.2.1",
|
||||
"resolved": "https://registry.npmjs.org/eleventy-filter-relative-url/-/eleventy-filter-relative-url-0.2.1.tgz",
|
||||
"integrity": "sha512-WPYsDI3J6KrrSTGORtwKbSK2fIKvezphQtMfMNx7qQXvfC4cb2CIembdrbS0OKcRkwZmO4ajS6S7jHUft1ec2A==",
|
||||
"dev": true,
|
||||
"peerDependencies": {
|
||||
"@11ty/eleventy": ">= 0.12.0"
|
||||
}
|
||||
},
|
||||
"node_modules/emoji-regex": {
|
||||
"version": "8.0.0",
|
||||
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
|
||||
|
@ -3522,6 +3532,7 @@
|
|||
"version": "0.3.3",
|
||||
"resolved": "https://registry.npmjs.org/@11ty/eleventy-navigation/-/eleventy-navigation-0.3.3.tgz",
|
||||
"integrity": "sha512-O5C/NbDeTBnHQvDYZDr0Va6a7mEzifPUL1XRiqyKIAQqXZJsX/2K13PFLhX7t6kQRT1w6D0TSQyiT8skXbgWKA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"dependency-graph": "^0.11.0"
|
||||
}
|
||||
|
@ -4118,7 +4129,8 @@
|
|||
"dependency-graph": {
|
||||
"version": "0.11.0",
|
||||
"resolved": "https://registry.npmjs.org/dependency-graph/-/dependency-graph-0.11.0.tgz",
|
||||
"integrity": "sha512-JeMq7fEshyepOWDfcfHK06N3MhyPhz++vtqWhMT5O9A3K42rdsEDpfdVqjaqaAhsw6a+ZqeDvQVtD0hFHQWrzg=="
|
||||
"integrity": "sha512-JeMq7fEshyepOWDfcfHK06N3MhyPhz++vtqWhMT5O9A3K42rdsEDpfdVqjaqaAhsw6a+ZqeDvQVtD0hFHQWrzg==",
|
||||
"dev": true
|
||||
},
|
||||
"destroy": {
|
||||
"version": "1.0.4",
|
||||
|
@ -4203,6 +4215,13 @@
|
|||
"jake": "^10.8.5"
|
||||
}
|
||||
},
|
||||
"eleventy-filter-relative-url": {
|
||||
"version": "0.2.1",
|
||||
"resolved": "https://registry.npmjs.org/eleventy-filter-relative-url/-/eleventy-filter-relative-url-0.2.1.tgz",
|
||||
"integrity": "sha512-WPYsDI3J6KrrSTGORtwKbSK2fIKvezphQtMfMNx7qQXvfC4cb2CIembdrbS0OKcRkwZmO4ajS6S7jHUft1ec2A==",
|
||||
"dev": true,
|
||||
"requires": {}
|
||||
},
|
||||
"emoji-regex": {
|
||||
"version": "8.0.0",
|
||||
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@11ty/eleventy": "^1.0.1",
|
||||
"@11ty/eleventy-navigation": "^0.3.3"
|
||||
"@11ty/eleventy-navigation": "^0.3.3",
|
||||
"eleventy-filter-relative-url": "^0.2.1"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue