From ab187f6161b3397e193bc8b494d9572356523e0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Thu, 20 May 2021 22:02:50 +0200 Subject: [PATCH] fix: .eleventy.js formatting --- .eleventy.js | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.eleventy.js b/.eleventy.js index 686d342..c24b61b 100755 --- a/.eleventy.js +++ b/.eleventy.js @@ -1,27 +1,27 @@ const pluginNavigation = require("@11ty/eleventy-navigation") -module.exports = function(eleventyConfig) { +module.exports = function (eleventyConfig) { - eleventyConfig.addPlugin(pluginNavigation); + eleventyConfig.addPlugin(pluginNavigation); - eleventyConfig.addPassthroughCopy('pages/css'); - eleventyConfig.addPassthroughCopy('pages/content'); + eleventyConfig.addPassthroughCopy('pages/css'); + eleventyConfig.addPassthroughCopy('pages/content'); - eleventyConfig.addPassthroughCopy({ - "node_modules/chaffle/docs/chaffle.min.js": "javascript/chaffle.min.js", - "pages/favicon.ico": "favicon.ico" - }); + eleventyConfig.addPassthroughCopy({ + "node_modules/chaffle/docs/chaffle.min.js": "javascript/chaffle.min.js", + "pages/favicon.ico": "favicon.ico" + }); - eleventyConfig.addShortcode("year", () => { - let year = new Date().getFullYear(); - return year.toString(); - }); + eleventyConfig.addShortcode("year", () => { + let year = new Date().getFullYear(); + return year.toString(); + }); + + return { + dir: { + input: "pages" + }, + pathPrefix: '/~fainsil/' + } - return { - dir: { - input: "pages" - }, - pathPrefix: '/~fainsil/' - } - } \ No newline at end of file