Skip to content

v1.5

Compare
Choose a tag to compare
@jmacdotorg jmacdotorg released this 21 Aug 02:00
· 189 commits to master since this release
  • Adding support for social-media metadata tags, allowing services like Facebook, Twitter, and Slack to display previews of Plerd-based posts that they link to.

    If you are upgrading to this release from an earlier Plerd version, then in order to take advantage of this new features you'll need to do a couple of things:

    • Add some Template Toolkit tags like this to your wrapper.tt file, within the <head> tags:

      [% IF context_post %]
      [% context_post.social_meta_tags %]
      [% END %]

      See the file at templates/wrapper.tt for a working example.

    • Set either the facebook_id and twitter_id config directives to your blog (or both), and consider setting a default image as well. See https://github.com/jmacdotorg/plerd#social-media-metatags for full documentation.

  • Improving and reorganizing docs and examples a bit, including first links to the wiki (hosted on GitHub) for higher-level documentation.