We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f695205 commit 3ab543fCopy full SHA for 3ab543f
src/_includes/page-github-links.html
@@ -4,7 +4,7 @@
4
{% endcomment -%}
5
6
{% assign repo = repo | default: site.repo.this -%}
7
-{% capture path -%} {{repo}}/tree/{{site.branch}}/{{page.inputPath}} {%- endcapture -%}
+{% capture path -%} {{repo}}/tree/{{site.branch}}/{{page.inputPath | replace: './', ''}} {%- endcapture -%}
8
{% assign siteTitle = title | default: page.url -%}
9
{% assign url = site.url | append: page.url -%}
10
0 commit comments