diff --git a/_config.yml b/_config.yml index 7adb61a..fefa7cb 100644 --- a/_config.yml +++ b/_config.yml @@ -30,6 +30,11 @@ exclude: feedback_email: tomjohnson1492@gmail.com # used as a contact email for the Feedback link in the top navigation bar +#feedback_disable: true +#feedback_text: "Need help?" +#feedback_link: "http://helpy.io/" +# change feedback link behaviour if you use a support ticketing system or something else + highlighter: rouge # library used for syntax highlighting diff --git a/_includes/feedback.html b/_includes/feedback.html index 09b3367..bcd5fbc 100644 --- a/_includes/feedback.html +++ b/_includes/feedback.html @@ -13,4 +13,4 @@ window.location.href = uri; } -
  • Feedback
  • \ No newline at end of file +
  • {% if site.feedback_link == null %}{% endif %} {% if site.feedback_text %}{{site.feedback_text}}{% else %}Feedback{% endif %}
  • diff --git a/_includes/topnav.html b/_includes/topnav.html index 50463d5..55932dc 100644 --- a/_includes/topnav.html +++ b/_includes/topnav.html @@ -44,7 +44,9 @@ {% endfor %} {% endfor %} - {% include feedback.html %} + {% if site.feedback_disable == null or site.feedback_disable == false %} + {% include feedback.html %} + {% endif %}