From 157fc386694228a295825f289bdc446b782b4802 Mon Sep 17 00:00:00 2001 From: Andrew Chen Date: Mon, 7 Aug 2017 16:24:04 -0700 Subject: [PATCH] use page variable instead of hardcoded master --- editdocs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editdocs.md b/editdocs.md index 0291912aca..e1651b0d1d 100644 --- a/editdocs.md +++ b/editdocs.md @@ -11,7 +11,7 @@ $( document ).ready(function() { $("#generalInstructions").hide(); $("#continueEdit").show(); $("#continueEditButton").text("Edit " + forwarding); - $("#continueEditButton").attr("href", "https://github.com/kubernetes/kubernetes.github.io/edit/master/" + forwarding) + $("#continueEditButton").attr("href", "https://github.com/kubernetes/kubernetes.github.io/edit/{{ page.docsbranch }}/" + forwarding) } else { $("#generalInstructions").show(); $("#continueEdit").hide();