Mercurial > public > sg101
comparison gpp/templates/podcast/detail.html @ 487:77d878acea5e
For #233; add social media sharing buttons to podcast pages.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 19 Oct 2011 00:05:54 +0000 |
parents | 9175392da056 |
children | a747215e9a5a |
comparison
equal
deleted
inserted
replaced
486:7854d75427af | 487:77d878acea5e |
---|---|
1 {% extends 'podcast/base.html' %} | 1 {% extends 'podcast/base.html' %} |
2 {% load url from future %} | 2 {% load url from future %} |
3 {% load script_tags %} | |
4 {% load core_tags %} | |
3 {% block title %}Podcast: {{ podcast.title }}{% endblock %} | 5 {% block title %}Podcast: {{ podcast.title }}{% endblock %} |
6 {% block custom_meta %} | |
7 {% open_graph_meta_tags podcast %} | |
8 {% endblock %} | |
4 {% block custom_css %} | 9 {% block custom_css %} |
5 <link type="text/css" href="{{ STATIC_URL }}js/jplayer/skins/blue.monday/jplayer.blue.monday.css" rel="stylesheet" /> | 10 <link type="text/css" href="{{ STATIC_URL }}js/jplayer/skins/blue.monday/jplayer.blue.monday.css" rel="stylesheet" /> |
6 {% endblock %} | 11 {% endblock %} |
7 {% block custom_js %} | 12 {% block custom_js %} |
13 {% script_tags "social" %} | |
8 <script type="text/javascript" src="{{ STATIC_URL }}js/jplayer/jquery.jplayer.min.js"></script> | 14 <script type="text/javascript" src="{{ STATIC_URL }}js/jplayer/jquery.jplayer.min.js"></script> |
9 | 15 |
10 <script type="text/javascript"> | 16 <script type="text/javascript"> |
11 //<![CDATA[ | 17 //<![CDATA[ |
12 var jplayer_media = {{ jplayer_media|safe }}; | 18 var jplayer_media = {{ jplayer_media|safe }}; |
72 <li> | 78 <li> |
73 <a href="{{ podcast.alt_enclosure_url }}">Download Now ({{ alt_ext }})</a> | 79 <a href="{{ podcast.alt_enclosure_url }}">Download Now ({{ alt_ext }})</a> |
74 </li> | 80 </li> |
75 {% endif %} | 81 {% endif %} |
76 </ul> | 82 </ul> |
83 {% social_sharing podcast.search_title podcast.get_absolute_url %} | |
77 {% endblock %} | 84 {% endblock %} |