diff --git a/.eleventy.js b/.eleventy.js index 0b2ba79..f02f2e8 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -11,6 +11,7 @@ module.exports = config => { config.addPassthroughCopy('src/img'); config.addPassthroughCopy('src/fonts'); config.addPassthroughCopy('src/admin'); + config.addPassthroughCopy({"src/_includes/js/" : "/js"}); /* Collections */ diff --git a/src/_data/nav.json b/src/_data/nav.json index e8ad805..fabff7c 100644 --- a/src/_data/nav.json +++ b/src/_data/nav.json @@ -1,15 +1,15 @@ { "items": [ { - "text": "Home", + "text": "Accueil", "url": "/" }, { - "text": "All recipes", + "text": "Recettes", "url": "/recipes/" }, { - "text": "About", + "text": "À propos", "url": "/about/" } ] diff --git a/src/_data/site.json b/src/_data/site.json index 1165cab..4a09def 100644 --- a/src/_data/site.json +++ b/src/_data/site.json @@ -1,12 +1,12 @@ { - "name": "My Online Cookbook", - "metaDescription": "The online cookbook of John Doe", - "author": "John Doe", - "primaryColor": "#ffdb70", - "secondaryColor": "#32816e", - "searchLabel": "Find recipes by name, tag or ingredients", - "searchContainsLabel": "Contains", - "servingsLabel": "servings", - "ingredientsLabel": "Ingredients", + "name": "Le livre de cuisine de Thomas", + "metaDescription": "Toutes mes recettes de cuisine", + "author": "Thomas", + "primaryColor": "#7079ff", + "secondaryColor": "#814c32", + "searchLabel": "Chercher des recettes par nom, tag ou ingrédients", + "searchContainsLabel": "Contient", + "servingsLabel": "personnes", + "ingredientsLabel": "Ingrédients", "baseURL": "https://myonlinecookbook.netlify.app" } \ No newline at end of file diff --git a/src/_includes/js/alpine.min.js b/src/_includes/js/alpine.min.js new file mode 100644 index 0000000..6f8d766 --- /dev/null +++ b/src/_includes/js/alpine.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.3.5. + * Original file: /gh/alpinejs/alpine@2.8.2/dist/alpine.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Alpine=t()}(this,(function(){"use strict";function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function n(n){for(var i=1;i tags. See https://github.com/alpinejs/alpine#${t}`):1!==e.content.childElementCount&&console.warn(`Alpine: