Mercurial > public > sg101
diff 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 |
line wrap: on
line diff
--- a/gpp/templates/podcast/detail.html Tue Oct 18 23:23:42 2011 +0000 +++ b/gpp/templates/podcast/detail.html Wed Oct 19 00:05:54 2011 +0000 @@ -1,10 +1,16 @@ {% extends 'podcast/base.html' %} {% load url from future %} +{% load script_tags %} +{% load core_tags %} {% block title %}Podcast: {{ podcast.title }}{% endblock %} +{% block custom_meta %} +{% open_graph_meta_tags podcast %} +{% endblock %} {% block custom_css %} <link type="text/css" href="{{ STATIC_URL }}js/jplayer/skins/blue.monday/jplayer.blue.monday.css" rel="stylesheet" /> {% endblock %} {% block custom_js %} +{% script_tags "social" %} <script type="text/javascript" src="{{ STATIC_URL }}js/jplayer/jquery.jplayer.min.js"></script> <script type="text/javascript"> @@ -74,4 +80,5 @@ </li> {% endif %} </ul> +{% social_sharing podcast.search_title podcast.get_absolute_url %} {% endblock %}