From 651092a7bc99b344d74f56c2bfc48576fb84050c Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Wed, 15 Dec 2021 10:07:46 -0700 Subject: [PATCH] include current page url in docs issue link (#3492) --- layouts/partials/article/feedback.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/layouts/partials/article/feedback.html b/layouts/partials/article/feedback.html index e9f7a095b..50c2ed372 100644 --- a/layouts/partials/article/feedback.html +++ b/layouts/partials/article/feedback.html @@ -21,6 +21,14 @@ {{ $pageGithubLink := .Scratch.Get "pageGithubLink" }} {{ $productGithubLink := .Scratch.Get "productGithubLink" }} +{{ $docsIssueLinkBody := print `_Describe the issue here._ + +%23%23%23%23%23 Relevant URLs +- ` (.RelPermalink | absURL) ` +- _Provide other relevant URLs (project issues, community threads, etc.)_ +` }} +{{ $pageGithubIssueLink := print "https://github.com/influxdata/docs-v2/issues/new?body=" $docsIssueLinkBody }} +
@@ -40,7 +48,9 @@
+ +