Skip to content

Commit

Permalink
Merge branch 'main' into fix/accordion/heading-hover
Browse files Browse the repository at this point in the history
  • Loading branch information
bennypowers authored Dec 5, 2024
2 parents add160d + 2195be2 commit c4a9629
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/_includes/partials/component/edit-this-page.njk
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
{% endif %}
{% endfor %}
{% endif %}
{# remove ./ leading on path #}
{% set editPath = (inputPath or page.inputPath) | replace('./', '/') %}
<a href="https://github.com/RedHat-UX/red-hat-design-system/blob/main{{ editPath }}?plain=1">Edit this page on GitHub</a>
</div>
{% set editPath = ('/' + (inputPath or page.inputPath)) | replace(r/^(\.)?\//, '') %}
<a href="https://github.com/RedHat-UX/red-hat-design-system/blob/main/{{ editPath }}?plain=1">Edit this page on GitHub</a>
</div>

0 comments on commit c4a9629

Please sign in to comment.