Skip to content

Commit

Permalink
Merge branch 'main' into production
Browse files Browse the repository at this point in the history
  • Loading branch information
hjonin committed Nov 29, 2023
2 parents 7299045 + e0efa24 commit 9a556f6
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 51 deletions.
11 changes: 0 additions & 11 deletions _data/documentation.js

This file was deleted.

15 changes: 7 additions & 8 deletions _includes/layouts/bluehats-post.njk
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ layout: layouts/base.njk
{% if showBreadcrumb %}
{% include "components/breadcrumb.njk" %}
{% endif %}
<div class="fr-grid-row" data-pagefind-body>
<div class="fr-col-12">
<div class="fr-grid-row fr-grid-row--center" data-pagefind-body>
<div class="fr-col-12 fr-col-md-8">
{% set tagsUrl = "/bluehats/tags/" %}
{% include "components/taggroup.njk" %}
<div class="fr-grid-row">
Expand All @@ -30,11 +30,7 @@ layout: layouts/base.njk
</p>
{% endif %}

<div class="fr-grid-row">
<div class="fr-col-md-8">
{{ content | safe }}
</div>
</div>
{{ content | safe }}

{% if video %}
<figure class="fr-content-media" role="group">
Expand All @@ -55,7 +51,10 @@ layout: layouts/base.njk
<figcaption class="fr-content-media__caption">Support de présentation</figcaption>
</figure>
{% endif %}

</div>
</div>
<div class="fr-grid-row">
<div class="fr-col-12">
{% if collections.bluehats_posts %}
{% set previousPost = collections.bluehats_posts | filterCollectionLang | getPreviousCollectionItem %}
{% set nextPost = collections.bluehats_posts | filterCollectionLang | getNextCollectionItem %}
Expand Down
9 changes: 6 additions & 3 deletions _includes/layouts/post.njk
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ layout: layouts/base.njk
{% if showBreadcrumb %}
{% include "components/breadcrumb.njk" %}
{% endif %}
<div class="fr-grid-row" data-pagefind-body>
<div class="fr-col-12">
<div class="fr-grid-row fr-grid-row--center" data-pagefind-body>
<div class="fr-col-12 fr-col-md-8">
{% include "components/taggroup.njk" %}
<div class="fr-grid-row">
<div class="fr-col-12 fr-col-md-9">
Expand All @@ -30,7 +30,10 @@ layout: layouts/base.njk
{% endif %}

{{ content | safe }}

</div>
</div>
<div class="fr-grid-row">
<div class="fr-col-12">
{% if collections.posts %}
{% set previousPost = collections.posts | filterCollectionLang | getPreviousCollectionItem %}
{% set nextPost = collections.posts | filterCollectionLang | getNextCollectionItem %}
Expand Down
5 changes: 0 additions & 5 deletions content/fr/documentation/service-public-logiciels-libres.md

This file was deleted.

26 changes: 3 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 9a556f6

Please sign in to comment.