Skip to content

Commit dd5ba89

Browse files
committed
ktl-2025 chore: hide the "Edit Page" button for Grammar
1 parent 49dea3f commit dd5ba89

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed
Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
<a href="{{ edit_on_github_url }}"
2-
class="page-link-to-github"
3-
target="_blank"
4-
title="Edit this page on GitHub">
5-
<i class="github-icon"></i>
6-
<span class="text">Edit Page</span>
7-
</a>
1+
{% if edit_on_github_url %}
2+
<a href="{{ edit_on_github_url }}"
3+
class="page-link-to-github"
4+
target="_blank"
5+
title="Edit this page on GitHub">
6+
<i class="github-icon"></i>
7+
<span class="text">Edit Page</span>
8+
</a>
9+
{% endif %}

0 commit comments

Comments
 (0)