{% unless page.edit-on-github == "false" %} {% if site.edit-on-github.enabled and site.edit-on-github.repo %} {% assign page_base = include.pagePermalink | split:"/" %} {% assign page-path = include.pagePath | replace: " ", "" %} {% if page_base[1] == "documentation" and site.edit-on-github.docs %} {% capture github-home %}{{site.edit-on-github.docs}}{% endcapture %} {% capture github-docs %}{{site.edit-on-github.docs}}/tree/master/{% endcapture %} {% capture report-issue-link %} {{github-home}}/issues/new?title=Problem+with+{{page-path}}&body=Please+enter+some+details+about+the+bug/issue+so+we+can+promptly+resolve+it.+%0D%0AURL%3A++{{site.url}}{{page.url}} {% endcapture %} {% capture edit-me-link %}{{github-docs}}{{page-path}}{% endcapture %}
Report an Issue Edit on GitHub
{% else %} {% capture github-home %}{{site.edit-on-github.repo}}{% endcapture %} {% capture github-docs %}{{site.edit-on-github.repo}}/tree/master/{% endcapture %} {% capture report-issue-link %} {{site.edit-on-github.repo}}/issues/new?title=Problem+with+{{page-path}}&body=Please+enter+some+details+about+the+bug/issue+so+we+can+promptly+resolve+it.+%0D%0AURL%3A++{{site.url}}{{page.url}} {% endcapture %} {% capture edit-me-link %}{{github-docs}}{{page-path}}{% endcapture %}
Report an Issue Edit on GitHub
{% endif %} {% endif %} {% endunless %}