nodewrite-plugin-gravatar

1.0.11 • Public • Published

Gravatar Plugin

Build Status CodeClimate Coverage Status Dependency Status

Gravatar is an image that follows you from site to site appearing beside your name when you do things like comment or post on a blog. Avatars help identify your posts on blogs and web forums.

Installation

npm install nodewrite-plugin-gravatar --save

This is plugin is installed by default.

Usage

Use as the source attribute for an image tag:

<img src="{@gravatar email="levi@calmdev.com" /}" />

Rendered output:

<img src="https://avatars3.githubusercontent.com/u/461249?v=3&s=40" />

API

The public API provided by this package is outlined below.

View

Context

This package does not provide additional view context.

Filters

This package does not provide view filters.

Helpers

  • @gravatar - accepts the following params:
    • email - email address of gravatar to display.

Server

Methods

This package does not expose public methods.

Events

This package does not emit events.

Readme

Keywords

none

Package Sidebar

Install

npm i nodewrite-plugin-gravatar

Weekly Downloads

4

Version

1.0.11

License

ISC

Last publish

Collaborators

  • calmdev