diff --git a/config.yaml b/config.yaml index 8b2e595..88a2802 100644 --- a/config.yaml +++ b/config.yaml @@ -38,6 +38,7 @@ data_sources: # The type is the identifier of the data source. By default, this will be # `filesystem_unified`. type: filesystem_unified + encoding: utf-8 # The path where items should be mounted (comparable to mount points in # Unix-like systems). This is “/” by default, meaning that items will have diff --git a/content/libraries/jivochat.md b/content/libraries/jivochat.md new file mode 100644 index 0000000..dce08b0 --- /dev/null +++ b/content/libraries/jivochat.md @@ -0,0 +1,29 @@ +--- +title: JivoChat +contributors: + - user: jfloff + name: Joao Ferreira Loff +--- + +# JivoChat + +> **[jivochat.com](http://jivochat.com/)** + +I had problems with JivoChat when changing pages, which has been reported by [others](https://stackoverflow.com/questions/39273134/turbolinks-and-3d-party-plugins-issue). + +### Official Implementation +After creating and customizing a widget, you will be give an embed code similar to this: + +```html + + + +``` + +### Solution +Just add the following code `s.setAttribute('data-turbolinks-track', 'reload');` in between existing code, like this: +

+s.type = 'text/javascript'; s.setAttribute('data-turbolinks-track', 'reload'); s.async = true;
+