From f26a8698bf76bdfaf0f9826e72f4669e26df7535 Mon Sep 17 00:00:00 2001 From: Svetozar Toskov Date: Thu, 18 Jun 2020 13:59:00 +0300 Subject: [PATCH 1/2] Support custom Contact Support link. E.g. for Fiddler we will use mail support and the link should open mail to support@getfiddler.com --- _layouts/api-index.html | 4 ++++ _layouts/documentation.html | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/_layouts/api-index.html b/_layouts/api-index.html index a93613a..2db14d5 100644 --- a/_layouts/api-index.html +++ b/_layouts/api-index.html @@ -117,7 +117,11 @@

{{ page.title }}

Not finding the help you need?
+ {% if site.support_url %} + Contact support + {% else %} Contact support + {% endif %}
{% if site.edit_repo_url and page.is_search_page != true and page.editable != false %} Improve this article diff --git a/_layouts/documentation.html b/_layouts/documentation.html index fd653e9..fc8fd5d 100644 --- a/_layouts/documentation.html +++ b/_layouts/documentation.html @@ -103,7 +103,11 @@

{{ page.title }}

Not finding the help you need?
+ {% if site.support_url %} + Contact support + {% else %} Contact support + {% endif %}
{% if site.edit_repo_url and page.is_search_page != true and page.editable != false %} Improve this article From 5ac2272736c45ce0c0f5d0118b8525e8f08502cf Mon Sep 17 00:00:00 2001 From: Svetozar Toskov Date: Thu, 18 Jun 2020 16:07:19 +0300 Subject: [PATCH 2/2] Change the property name to contact_support_url --- _layouts/api-index.html | 4 ++-- _layouts/documentation.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_layouts/api-index.html b/_layouts/api-index.html index 2db14d5..ad03761 100644 --- a/_layouts/api-index.html +++ b/_layouts/api-index.html @@ -117,8 +117,8 @@

{{ page.title }}

Not finding the help you need?
- {% if site.support_url %} - Contact support + {% if site.contact_support_url %} + Contact support {% else %} Contact support {% endif %} diff --git a/_layouts/documentation.html b/_layouts/documentation.html index fc8fd5d..517330c 100644 --- a/_layouts/documentation.html +++ b/_layouts/documentation.html @@ -103,8 +103,8 @@

{{ page.title }}

Not finding the help you need?
- {% if site.support_url %} - Contact support + {% if site.contact_support_url %} + Contact support {% else %} Contact support {% endif %}