Skip to content

Commit

Permalink
docs: edit this page trim leading dot
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroedin committed Sep 18, 2024
1 parent 723074a commit 111b17c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/_includes/partials/component/edit-this-page.njk
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
{% endif %}
{% endfor %}
{% endif %}

<a href="https://github.com/RedHat-UX/red-hat-design-system/blob/main/{{ inputPath or page.inputPath }}?plain=1">Edit this page on GitHub</a>
{# 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>

0 comments on commit 111b17c

Please sign in to comment.