Permalink
Browse files
Include an actual like button in the site footer, not just a link to …
- Loading branch information...
Showing
with
10 additions
and
6 deletions.
-
+8
−0
share/mason/autohandler
-
+2
−6
share/mason/footer.mas
|
|
@@ -1,6 +1,14 @@ |
|
|
<& /head.mas, title => $m->request_comp()->scall_method('title') &>
|
|
|
|
|
|
<body>
|
|
|
+<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 id="<% $is_front_page ? 'front-page-doc' : 'doc4' %>"
|
|
|
class="<% $is_front_page ? 'front-page' : q{} %>">
|
|
|
|
@@ -27,12 +27,8 @@ |
|
|
<div id="footer-copyright">
|
|
|
|
|
|
<div id="logos">
|
|
|
- <a href="http://www.facebook.com/VegGuide"
|
|
|
- ><img src="/images/facebook-badge.gif"
|
|
|
- alt="Find us on Facebook"
|
|
|
- height="44" width="144"
|
|
|
- style="margin-bottom: 8px"
|
|
|
- /></a>
|
|
|
+ <div class="fb-like" data-href="http://www.facebook.com/VegGuide" data-send="true" data-width="450" data-show-faces="false"></div>
|
|
|
+ <br />
|
|
|
<br />
|
|
|
<a href="http://www.exploreveg.org/"><img src="/images/caa-logo.png" alt="Compassionate Action for Animals logo" title="Compassionate Action for Animals" height="60" width="98" /></a>
|
|
|
<a href="http://www.cok.net/"><img src="/images/cok-logo.png" alt="Compassion Over Killing logo" title="Compassion Over Killing" height="51" width="200" /></a>
|
|
|
0 comments on commit
0c4d04a