Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kirby Plugin: MyHardcover

This plugin allows you to show recent posts for a Hardcover.app account on your Kirby site

Git submodule

git submodule add https://github.com/mirthe/kirby_myhardcover site/plugins/myhardcover

Usage

Add your hardcover API key and account number to your config

'hardcover.apiKey'  => 'xxx'

Include the snippet to display your books on a page

<?php snippet('hardcover-books-read'); ?>

Recently added a listing of books I'm currently reading for my Now page, with an optional limit

<?php snippet('hardcover-books-currently-reading', ['limit' => 3 ]) ?>

Example

Example of books read

Todo

  • Offer as an official Kirby plugin
  • Add translations for labels
  • Add sample SCSS to this readme
  • Cleanup code
  • Lots..

About

This plugin allows you to show recent posts for a Hardcover.app account on your Kirby site

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages