Skip to content

Files

Latest commit

e03c01f · Dec 21, 2012

History

History
30 lines (20 loc) · 691 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 691 Bytes

gravatar-chyrp

================================

gravatar-chyrp is a simple gravatar module for Chyrp blogging engine.

Module is based on Gravatar class by Lance Kidwell.

Installation:

Create Folder gravatar inside modules folder and copy files there.

Usage:

Inside your twig template

    {% if enabled_modules.gravatar %}
    <div class="author_photo">
        <img src="${ post.author.email | get_gravatar }" />
    </div>
    {% endif %}

After installing Module, in Chyrp admin settings you can adjust:

  • Gravatar size
  • Gravatar rating
  • Gravatar fall-back image
  • Gravatar safe connection (https)