We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49dea3f commit dd5ba89Copy full SHA for dd5ba89
templates/inc/edit-on-github-link.html
@@ -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>
+{% if edit_on_github_url %}
+ <a href="{{ edit_on_github_url }}"
+ class="page-link-to-github"
+ target="_blank"
+ title="Edit this page on GitHub">
+ <i class="github-icon"></i>
+ <span class="text">Edit Page</span>
8
+ </a>
9
+{% endif %}
0 commit comments