Skip to content

A rails plugins to display social network icons easily in your web applications.

License

Notifications You must be signed in to change notification settings

ozgun/social_icons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SocialIcons

Installation

Update Gemfile

gem ‘social_icons’, :git => “github.com/ozgun/social_icons.git

In order to load javascript only once, add the following code to your layout(probably application layout):

<pre>

<head>
  ...
  <%= yield(:head) %>
</head>
<body>
  <%= yield(:after_body) %>
  ...
</body>

</pre>

Usage

<%= print_social_icons(link: post_url(@post), title: post.title) %>

<%= facebook_comments(link: post_url(@post)) %>

About

A rails plugins to display social network icons easily in your web applications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published