From e7c3f856feb895d917133833597729e5c6aa2295 Mon Sep 17 00:00:00 2001 From: Michael Measures Date: Mon, 19 Sep 2016 13:35:14 +0100 Subject: [PATCH] Added support for configuring the gitter support via the _config.yml file. --- _includes/gitterbadge.html | 4 ++++ index.md | 4 +--- pages/support/support_communications.md | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 _includes/gitterbadge.html diff --git a/_includes/gitterbadge.html b/_includes/gitterbadge.html new file mode 100644 index 000000000..a3caf90e1 --- /dev/null +++ b/_includes/gitterbadge.html @@ -0,0 +1,4 @@ +{% if site.gitter %} +

Or join the developer chat on Gitter:

+Join the chat at https://gitter.im/{{site.gitter_room}} +{% endif %} \ No newline at end of file diff --git a/index.md b/index.md index 1df8cc9e7..3e04e0845 100644 --- a/index.md +++ b/index.md @@ -24,9 +24,7 @@ Find out more on the [NHS Digital GP Connect homepage](http://systems.digital.nh {% include twitterfollow.html %} -Or join the developer chat on Gitter: - -[![Join the chat at https://gitter.im/gpconnect/Lobby](https://img.shields.io/badge/gitter-join%20chat-brightgreen.svg)](https://gitter.im/gpconnect/Lobby){:target="_blank" class="no_icon"} +{% include gitterbadge.html %} # The GP Connect Developer Ecosystem # diff --git a/pages/support/support_communications.md b/pages/support/support_communications.md index 07809423b..5a30b931f 100644 --- a/pages/support/support_communications.md +++ b/pages/support/support_communications.md @@ -22,7 +22,7 @@ For all the latest news/announcements please subscribe to our [News](news.html) > A two-way channel to allow the Supplier Community to engage with each other and NHS Digital to seek suport related to product development. -Coming Soon... +{% include gitterbadge.html %} ## Issues