From 089e58f5f6428ff0e3570c0f11e8c5a9da1c7a42 Mon Sep 17 00:00:00 2001 From: Svetozar Toskov Date: Thu, 18 Jun 2020 16:52:16 +0300 Subject: [PATCH] Add option to hide support section --- _layouts/api-index.html | 2 ++ _layouts/documentation.html | 2 ++ 2 files changed, 4 insertions(+) diff --git a/_layouts/api-index.html b/_layouts/api-index.html index ad03761..57eb06d 100644 --- a/_layouts/api-index.html +++ b/_layouts/api-index.html @@ -115,6 +115,7 @@

{{ page.title }}

{% include related-articles.html %}
+ {% unless site.hide_contact_support == true %} Not finding the help you need?
{% if site.contact_support_url %} @@ -123,6 +124,7 @@

{{ page.title }}

Contact support {% endif %}
+ {% endunless %} {% if site.edit_repo_url and page.is_search_page != true and page.editable != false %} Improve this article {% endif %} diff --git a/_layouts/documentation.html b/_layouts/documentation.html index 517330c..591c552 100644 --- a/_layouts/documentation.html +++ b/_layouts/documentation.html @@ -101,6 +101,7 @@

{{ page.title }}

{% include related-articles.html %}
+ {% unless site.hide_contact_support == true %} Not finding the help you need?
{% if site.contact_support_url %} @@ -109,6 +110,7 @@

{{ page.title }}

Contact support {% endif %}
+ {% endunless %} {% if site.edit_repo_url and page.is_search_page != true and page.editable != false %} Improve this article {% endif %}