In updating my site to Jekyll, I needed to have Twilio Client support for my demos. I had already made a Wordpress Plugin, so it was a quick conversion to make a Twilio Client Liquid Tag. I also got an up to date version of Twilio Client running as well, to take advantage of the WebRTC functionality.
First add the required libraries to your head tag:
Then wherever you want to use Twilio Client place this tag:
<p><% twilio_client sid:APXXXXXXXXXXXXXXXXXXXXXX caption:call digits %></p>
Save this file to your ‘_plugins’ directory, or create the directory in the root of your site:
Feel free to send a pull request if you see ways to optimize.