Browse Source

enhanced github issue template

pull/234/head
Kilian Ciuffolo 10 years ago
parent
commit
fbe8e68127
  1. 1
      _config.yml
  2. 4
      _includes/feedback.html

1
_config.yml

@ -1,4 +1,5 @@
permalink: pretty
origin: "https://www.tinymce.com"
baseurl: ""
shared_baseurl: ""
syntax_highlight_theme: "tomorrow-night"

4
_includes/feedback.html

@ -4,10 +4,10 @@
Was this article helpful? <a class="link-burrito" href="#yes">Yes</a> - <a class="link-burrito" href="#no">No</a>
</p>
<p class="feedback-no">
{% capture issue_body %}### [{{ page.title }}]({{ page.path }}) issue:{% endcapture %}
{% capture issue_body %}> *affected page: {{ site.origin }}{{ site.baseurl }}{{ page.url }}*{% endcapture %}
{% capture issue_title %}Problem with page {{ page.path }}{% endcapture %}
Well, that's awkward <i class="em em-sweat_smile"></i>. Would you mind
<a class="link-burrito" data-action="feedback-open-issue" href="https://github.com/tinymce/tinymce-docs/issues/new?body={{ issue_body | url_encode }}&title={{ issue_title | url_encode }}" target="_blank">opening an issue</a>
<a class="link-burrito" data-action="feedback-open-issue" href="https://github.com/tinymce/tinymce-docs/issues/new?body=%0A%0A%0A{{ issue_body | url_encode }}&title={{ issue_title | url_encode }}" target="_blank">opening an issue</a>
or
<a class="link-burrito" data-action="feedback-edit" href="https://github.com/tinymce/tinymce-docs/tree/master/{{ page.path }}" target="_blank">helping us out</a>?
</p>

Loading…
Cancel
Save