Skip to content

foo9/lokka-hatena_bookmark_button

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lokka Hatena Bookmark Button

This is a Lokka plugin to add "Hatena Bookmark Button" link.

Installation

Run these commands:

$ cd public/plugin
$ git clone git://github.com/nkmrshn/lokka-hatena_bookmark_button.git
$ rm -rf lokka-hatena_bookmark_button/.git

Usage

You can set options in the admin page [Plugins]->[Hatena Bookmark Button].

The helper method is "hatena_bookmark_button". Don't forget to modify the theme template. This helper method has two parameters. First is for title and second is URL. If the hatena_bookmark_button method called without URL, current page URL will be used. If you want to specify the URL, call the method with String parameter like:

<%= hatena_bookmark_button(@entry.title, "http://example.com/foo/bar/") %>

About

Lokka Plugin to add a Hatena Bookmark button

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%