Al-Citations
A Jekyll plugin that allows you to fetch and display citation counts from Google Scholar and InspireHEP in your Jekyll site.
Installation
Add this line to your Jekyll site's Gemfile:
gem 'al_citations'And then execute:
$ bundle installUsage
- Add the plugin to your site's
_config.yml:
plugins:
- al_citations- Use the tags in your templates:
For Google Scholar:
{% google_scholar_citations scholar_id article_id %}For InspireHEP:
{% inspirehep_citations recid %}Example
Citations: {% google_scholar_citations "YOUR_SCHOLAR_ID" "ARTICLE_ID" %}
InspireHEP Citations: {% inspirehep_citations "INSPIRE_RECID" %}Development
After checking out the repo, run bundle install to install dependencies.
Contributing
Bug reports and pull requests are welcome on GitHub.