diff options
author | Tobias Schmidl <tobias.schmidl@corpuls.com> | 2018-05-11 12:29:19 +0200 |
---|---|---|
committer | Tobias Schmidl <tobias.schmidl@corpuls.com> | 2018-05-11 12:29:19 +0200 |
commit | 2d078b7f4b0a73ffb2d1bb4dfd43997484411dff (patch) | |
tree | e5340266802af731646af4f0e0156c82316317b3 /Just-Read/templates | |
parent | 9d033a3ea6efd51af3926b02394596652ed97c97 (diff) | |
download | pelican-themes-2d078b7f4b0a73ffb2d1bb4dfd43997484411dff.tar.gz |
Justi Read: Replaced twitter widget
This new version is more suitable for a CSP setting
Diffstat (limited to 'Just-Read/templates')
-rw-r--r-- | Just-Read/templates/article.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Just-Read/templates/article.html b/Just-Read/templates/article.html index c68487c..1539b78 100644 --- a/Just-Read/templates/article.html +++ b/Just-Read/templates/article.html @@ -8,8 +8,7 @@ {{ article.content }} <a href="https://twitter.com/share" class="twitter-share-button" data-via="{{ TWITTER_USERNAME }}" data-lang="en" data-size="large" data-related="{{ TWITTER_USERNAME }}">Tweet</a> - <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> - + <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> {% if DISQUS_SITENAME %} <div class="comments"> <h2>Comments !</h2> |