diff options
Diffstat (limited to 'docs/social_buttons.txt')
| -rw-r--r-- | docs/social_buttons.txt | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/docs/social_buttons.txt b/docs/social_buttons.txt index de7fecf..1d6c5b5 100644 --- a/docs/social_buttons.txt +++ b/docs/social_buttons.txt @@ -1,6 +1,6 @@ .. title: Alternative Social Buttons .. slug: social_buttons -.. date: 2013/08/19 23:00 +.. date: 2013-08-19 23:00:00 UTC-03:00 .. tags: .. link: .. description: @@ -8,7 +8,7 @@ Using Alternative Social Buttons with Nikola ============================================ -:Version: 6.4.0 +:Version: 7.0.1 .. class:: alert alert-info pull-right @@ -33,7 +33,7 @@ the bottom right of the page, provided by Addthis. This is the HTML code for tha <li><a class="addthis_button_twitter"></a> </ul> </div> - <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-4f7088a56bb93798"></script> + <script src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-4f7088a56bb93798"></script> <!-- End of social buttons --> """ @@ -96,8 +96,7 @@ is the HTML code suggested by ShareNice: data-services="plus.google.com,facebook.com,digg.com,email,delicious.com,twitter.com" style="float:right"></div>""" - BODY_END = """<script src="http://graingert.co.uk/shareNice/code.js" - type="text/javascript"></script>""" + BODY_END = """<script src="http://graingert.co.uk/shareNice/code.js"></script>""" And you should now see a sharing box at the bottom right of the page. @@ -169,8 +168,8 @@ Edit your ``conf.py``: .. code-block:: python BODY_END = """ - <script type="text/javascript" src="/javascripts/jquery.socialshareprivacy.min.js"></script> - <script type="text/javascript"> + <script src="/javascripts/jquery.socialshareprivacy.min.js"></script> + <script> $(document).ready(function () { $('.share').socialSharePrivacy(); }); |
