Skip to content
This repository has been archived by the owner on Apr 24, 2019. It is now read-only.

nkmrshn/lokka-plusone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Lokka +1 Button

This is a Lokka plugin to add "+1 Button" link.

Installation

Run these commands:

$ cd public/plugin
$ git clone git://github.com/nkmrshn/lokka-plusone.git

Usage

You can set options in the admin page [Plugins]->[Pluseone].

There are two helper methods.

One is "plusone_js" to output JavaScript for +1 button.

<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>

Antoher is "plusone" and it will output g:plusone(DOM) or div(HTML5) tag.

<g:plusone size="medium" count="false" lang="ja"></g:plusone>
<div class="g-plusone" data-size="medium" data-count="false" data-lang="ja"></div>

About

Lokka Plugin to add a +1 button

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages