chore: add goodreads data
This commit is contained in:
parent
4dcbc55c74
commit
951284c62b
12 changed files with 47 additions and 219 deletions
|
@ -7,7 +7,7 @@
|
|||
<link href="{{ pkg.homepage }}/books.xml" rel="self" />
|
||||
<link href="{{ pkg.homepage }}/" />
|
||||
<link rel="hub" href="https://pubsubhubbub.superfeedr.com/" />
|
||||
<updated>{% block update %}{{ book[0].started | date: "%Y-%m-%dT%H:%M:%S-08:00" }}{% endblock %}</updated>
|
||||
<updated>{% block update %}{{ books[0].dateAdded | date: "%Y-%m-%dT%H:%M:%S-08:00" }}{% endblock %}</updated>
|
||||
<id>{{ site.url }}</id>
|
||||
<author>
|
||||
<name>{{ site.name }}</name>
|
||||
|
|
7
src/_includes/icons/goodreads.liquid
Normal file
7
src/_includes/icons/goodreads.liquid
Normal file
|
@ -0,0 +1,7 @@
|
|||
<a
|
||||
class="link--icon"
|
||||
href="https://www.goodreads.com/cdransf"
|
||||
rel="me"
|
||||
title="Goodreads">
|
||||
{% tablericon "books" "Goodreads" "height=24" %}
|
||||
</a>
|
|
@ -7,6 +7,7 @@
|
|||
{% render "icons/spotify.liquid" %}
|
||||
{% render "icons/letterboxd.liquid" %}
|
||||
{% render "icons/trakt.liquid" %}
|
||||
{% render "icons/goodreads.liquid" %}
|
||||
{% render "icons/coffee.liquid" %}
|
||||
</div>
|
||||
<p class="text-sm text-gray-500 dark:text-gray-100 pb-8 text-center">
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<a href="{{book.link}}" title="{{book.title | escape}}">
|
||||
<div class="relative block" style="max-width:226px">
|
||||
<div class="absolute left-0 top-0 h-full w-full rounded-lg border border-purple-600 hover:border-purple-500 dark:border-purple-400 dark:hover:border-purple-500"></div>
|
||||
{%- capture bookImg %}{{book.cover}}{% endcapture -%}
|
||||
{%- capture bookImg %}{{book.image}}{% endcapture -%}
|
||||
{%- capture bookName %}{{book.title | escape}}{% endcapture -%}
|
||||
{% image bookImg, bookName, 'rounded-lg w-full h-full', '180px' %}
|
||||
</div>
|
||||
|
|
Reference in a new issue