diff --git a/_data/documentation.js b/_data/documentation.js deleted file mode 100644 index 9bf9a67b..00000000 --- a/_data/documentation.js +++ /dev/null @@ -1,11 +0,0 @@ -const EleventyFetch = require("@11ty/eleventy-fetch"); - -module.exports = async function() { - let url = "https://code.gouv.fr/documentation/index.md"; - - /* This returns a promise */ - return await EleventyFetch(url, { - duration: "*", - type: "text" - }); -}; \ No newline at end of file diff --git a/_includes/layouts/bluehats-post.njk b/_includes/layouts/bluehats-post.njk index 2e5a2125..5edd8082 100644 --- a/_includes/layouts/bluehats-post.njk +++ b/_includes/layouts/bluehats-post.njk @@ -5,8 +5,8 @@ layout: layouts/base.njk {% if showBreadcrumb %} {% include "components/breadcrumb.njk" %} {% endif %} -
-
+
+
{% set tagsUrl = "/bluehats/tags/" %} {% include "components/taggroup.njk" %}
@@ -30,11 +30,7 @@ layout: layouts/base.njk

{% endif %} -
-
- {{ content | safe }} -
-
+ {{ content | safe }} {% if video %}
@@ -55,7 +51,10 @@ layout: layouts/base.njk
Support de présentation
{% endif %} - +
+
+
+
{% if collections.bluehats_posts %} {% set previousPost = collections.bluehats_posts | filterCollectionLang | getPreviousCollectionItem %} {% set nextPost = collections.bluehats_posts | filterCollectionLang | getNextCollectionItem %} diff --git a/_includes/layouts/post.njk b/_includes/layouts/post.njk index 581181d2..3d581bc8 100644 --- a/_includes/layouts/post.njk +++ b/_includes/layouts/post.njk @@ -5,8 +5,8 @@ layout: layouts/base.njk {% if showBreadcrumb %} {% include "components/breadcrumb.njk" %} {% endif %} -
-
+
+
{% include "components/taggroup.njk" %}
@@ -30,7 +30,10 @@ layout: layouts/base.njk {% endif %} {{ content | safe }} - +
+
+
+
{% if collections.posts %} {% set previousPost = collections.posts | filterCollectionLang | getPreviousCollectionItem %} {% set nextPost = collections.posts | filterCollectionLang | getNextCollectionItem %} diff --git a/content/fr/documentation/service-public-logiciels-libres.md b/content/fr/documentation/service-public-logiciels-libres.md deleted file mode 100644 index 4f86485f..00000000 --- a/content/fr/documentation/service-public-logiciels-libres.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: Toute la documentation -layout: layouts/page.njk ---- -{{ documentation | safe }} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index d0caea74..a72f4052 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,6 @@ "license": "MIT", "devDependencies": { "@11ty/eleventy": "^2.0.1", - "@11ty/eleventy-fetch": "^4.0.0", "@11ty/eleventy-img": "^3.1.0", "@11ty/eleventy-navigation": "^0.3.5", "@11ty/eleventy-plugin-bundle": "^1.0.4", @@ -120,25 +119,6 @@ "url": "https://opencollective.com/11ty" } }, - "node_modules/@11ty/eleventy-fetch": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@11ty/eleventy-fetch/-/eleventy-fetch-4.0.0.tgz", - "integrity": "sha512-wGAd0r+8DUWr22fK5r07dOKuNY6ltA7hX+sJzngGZL1yJmuUVdM/xPQZ+iq0BFgf/ZeRdpVEzf2D0cpVZUuiTg==", - "dev": true, - "dependencies": { - "debug": "^4.3.4", - "flat-cache": "^3.0.4", - "node-fetch": "^2.6.7", - "p-queue": "^6.6.2" - }, - "engines": { - "node": ">=14" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/11ty" - } - }, "node_modules/@11ty/eleventy-img": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/@11ty/eleventy-img/-/eleventy-img-3.1.0.tgz", @@ -3053,9 +3033,9 @@ "dev": true }, "node_modules/sharp": { - "version": "0.32.4", - "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.32.4.tgz", - "integrity": "sha512-exUnZewqVZC6UXqXuQ8fyJJv0M968feBi04jb9GcUHrWtkRoAKnbJt8IfwT4NJs7FskArbJ14JAFGVuooszoGg==", + "version": "0.32.6", + "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.32.6.tgz", + "integrity": "sha512-KyLTWwgcR9Oe4d9HwCwNM2l7+J0dUQwn/yf7S0EnTtb0eVS4RxO0eUSvxPtzT4F3SY+C4K6fqdv/DO27sJ/v/w==", "dev": true, "hasInstallScript": true, "dependencies": { diff --git a/package.json b/package.json index b8a0f777..b4c0e0c3 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,6 @@ "homepage": "https://code.gouv.fr/", "devDependencies": { "@11ty/eleventy": "^2.0.1", - "@11ty/eleventy-fetch": "^4.0.0", "@11ty/eleventy-img": "^3.1.0", "@11ty/eleventy-navigation": "^0.3.5", "@11ty/eleventy-plugin-bundle": "^1.0.4",