From 7dce95be841f88269ace31536dcce91283676fa1 Mon Sep 17 00:00:00 2001 From: Bjorn Neergaard Date: Thu, 29 Sep 2022 15:04:56 -0600 Subject: [PATCH] fix: incorrect default edit URL This was broken by #15774. --- _layouts/docs.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_layouts/docs.html b/_layouts/docs.html index 68dc346159..a5326e1efd 100644 --- a/_layouts/docs.html +++ b/_layouts/docs.html @@ -3,7 +3,7 @@ {%- if page.edit_url -%} {%- assign edit_url = page.edit_url -%} {%- else -%} - {% capture edit_url %}{{ site.repo }}/edit/edit/master/{{ page.path }}{% endcapture %} + {% capture edit_url %}{{ site.repo }}/edit/master/{{ page.path }}{% endcapture %} {%- endif -%} {%- if page.issue_url -%} {%- assign issue_url = page.issue_url -%}