Skip to content

Commit 981d56b

Browse files
authored
Update "Fork & Edit on GitHub" links to point to precise file (#4898)
This resolves the only remaining issue of #3637 involving the "Fork & Edit on GitHub" link, which applies to all individual Technique and Understanding pages. This was always statically pointing to the repo's new issue URL, which was behavior carried over from the previous XSLT build system. Now that we're using Eleventy, this is trivial to implement consistently with the rest of the WAI website. Fixes #3637.
1 parent bc92fe6 commit 981d56b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_includes/help-improve.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ <h2> Help improve this page </h2>
1010
<div class="button-group">
1111
<a href="mailto:public-agwg-comments@w3.org?subject=%5BUnderstanding%20and%20Techniques%20Feedback%5D"
1212
class="button"><span>Email</span></a>
13-
<a href="https://github.com/w3c/wcag/issues/" class="button"><span>Fork &amp; Edit on GitHub</span></a>
13+
<a href="https://github.com/w3c/wcag/edit/main/{{ page.inputPath | replace_first: "./", "" }}" class="button"><span>Fork &amp; Edit on GitHub</span></a>
1414
<a href="https://github.com/w3c/wcag/issues/new" class="button"><span>New GitHub Issue</span></a>
1515
</div>
1616
</div>

0 commit comments

Comments
 (0)