Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
hjonin committed Sep 15, 2023
2 parents e6cbd47 + fd847e3 commit fa8d7a1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions _data/metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ module.exports = {
peertube_url: "https://tube.numerique.gouv.fr/a/logicielslibres/",
github_url: "https://github.com/codegouvfr/",
sourcehut_url: "https://sr.ht/~codegouvfr/",
repository_url: "https://github.com/codegouvfr/codegouv-website",
language: "fr",
description: "Recourir et contribuer aux logiciels libres et aux communs numériques",
author: {
Expand Down
2 changes: 1 addition & 1 deletion _includes/templates/footer.njk
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<a class="fr-footer__bottom-link" href="/fr/donnees-personnelles/">{{ "personal_data" | i18n }}</a>
</li>
<li class="fr-footer__bottom-item">
<a class="fr-footer__bottom-link fr-icon-pencil-line fr-link--icon-left" href="https://github.com/codegouvfr/codegouv-website/blob/main/{{ page.inputPath }}">{{ "edit_this_page" | i18n }}</a>
<a class="fr-footer__bottom-link fr-icon-pencil-line fr-link--icon-left" href="{{ metadata.repository_url }}/blob/main/{{ page.inputPath }}">{{ "edit_this_page" | i18n }}</a>
</li>
{# <li class="fr-footer__bottom-item">
<a class="fr-footer__bottom-link" href="#">Gestion des cookies</a>
Expand Down
1 change: 1 addition & 0 deletions eleventy.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ module.exports = function (eleventyConfig) {
eleventyConfig.addPlugin(pluginBundle);
eleventyConfig.addPlugin(EleventyHtmlBasePlugin);

// Custom collections
eleventyConfig.addCollection("allPosts", function(collectionApi) {
return collectionApi.getFilteredByTags("posts")
.concat(collectionApi.getFilteredByTags("bluehats_posts"));
Expand Down

0 comments on commit fa8d7a1

Please sign in to comment.