summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2011-09-27 11:25:48 +0100
committerColin Guthrie <colin@mageia.org>2011-09-27 11:25:48 +0100
commit1f368f15abc572f4e372e67528246e67e14ee51a (patch)
treece4014c847e97eb7e7ebc1e6858a9e8a71477e14
parent9b04ba5ef87135fa34f97bb4bb23893b6b3edee5 (diff)
Add some social networking stuff.
-rw-r--r--pulsar/index.html.tmpl24
1 files changed, 24 insertions, 0 deletions
diff --git a/pulsar/index.html.tmpl b/pulsar/index.html.tmpl
index 2ed4afa..177ecb9 100644
--- a/pulsar/index.html.tmpl
+++ b/pulsar/index.html.tmpl
@@ -78,6 +78,30 @@
<img title="Planet PulseAudio" alt="Planet PulseAudio" src="style/img/sitelogo.png" id="planet-logo" width="399" height="114">
</p>
</div>
+ <div id="social">
+ <!-- Place this tag where you want the +1 button to render -->
+ <g:plusone annotation="inline"></g:plusone>
+
+ <!-- Place this render call where appropriate -->
+ <script type="text/javascript">
+ (function() {
+ var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
+ po.src = 'https://apis.google.com/js/plusone.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
+ })();
+ </script>
+
+ <div id="fb-root"></div>
+ <script>(function(d, s, id) {
+ var js, fjs = d.getElementsByTagName(s)[0];
+ if (d.getElementById(id)) {return;}
+ js = d.createElement(s); js.id = id;
+ js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
+ fjs.parentNode.insertBefore(js, fjs);
+ }(document, 'script', 'facebook-jssdk'));</script>
+
+ <div class="fb-like" data-href="http://freedesktop.org/software/pulseaudio/planet/" data-send="false" data-width="450" data-show-faces="true"></div>
+ </div>
<div id="content">
<TMPL_LOOP Items>