add facebook shizzle
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<%- if Rails.env.production? -%>
|
||||
<% if Rails.env.production? %>
|
||||
window.fbAsyncInit = ->
|
||||
FB.init
|
||||
appId: '653729178057509'
|
||||
@@ -14,4 +14,4 @@ window.fbAsyncInit = ->
|
||||
js.src = '//connect.facebook.net/en_US/sdk.js'
|
||||
fjs.parentNode.insertBefore js, fjs
|
||||
) document, 'script', 'facebook-jssdk'
|
||||
<%- end -%>
|
||||
<% end %>
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
.footer-shadow
|
||||
.footer-content-container
|
||||
.footer-content
|
||||
.fb-like data-href="http://mozo.bar/" data-layout="button" data-action="like" data-show-faces="true" data-share="true"
|
||||
= yield :footer
|
||||
= link_to 'disclaimer', go_to_path('disclaimer', locale: 'en')
|
||||
'
|
||||
|
||||
Reference in New Issue
Block a user