Skip to content

Commit

Permalink
Merge pull request #651 from shawnthompson/dev-contribute
Browse files Browse the repository at this point in the history
fix french modify link in dev environment
  • Loading branch information
shawnthompson authored Oct 23, 2024
2 parents feec2f3 + 965d18b commit 85468ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/_includes/partials/contribute.njk
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
{% if settings.env == "dev" %}
<p>{{ contribute[locale].netlify }} <a{% if locale == "fr" %} {% endif %} href="https://www.netlify.com">Netlify</a></p>
{% if locale === 'en' %}
<p class="text-center"><a href="https://github.com/gc-da11yn/gc-da11yn.github.io/edit/main{{ newPath }}">Edit code for the <strong>{{ title }}</strong> page</a>.</p>
<p class="text-center"><a href="https://github.com/gc-da11yn/gc-da11yn.github.io/edit/main{{ newPath }}">Edit code for the <strong>{{ title | safe }}</strong> page</a>.</p>
{% else %}
<p class="text-center"><a href="https://github.com/gc-da11yn/gc-da11yn.github.io/edit/main{{ newPath }}">Modifier le code de la page <strong>{{ title }}</strong></a.></p>
<p class="text-center"><a href="https://github.com/gc-da11yn/gc-da11yn.github.io/edit/main{{ newPath }}">Modifier le code de la page <strong>{{ title| safe }}</strong></a>.</p>
{% endif %}
{% endif %}
</div>
Expand Down

0 comments on commit 85468ad

Please sign in to comment.