chg: [layout - post] Ajout de l'ISBN si disponible.

Pour l'instant je fais un lien vers Worldcat mais cela ne semble
pas la solution la plus ouverte/libre.

Ref: https://annas-blog.org/blog-isbndb-dump-how-many-books-are-preserved-forever.html
This commit is contained in:
Alexandre Dulaunoy 2024-02-18 09:34:15 +01:00
parent fe88e4a0b4
commit d9eca5e842
Signed by: adulau
GPG key ID: 09E2CD4944E6CBCD
2 changed files with 9 additions and 0 deletions

View file

@ -12,6 +12,7 @@
</div>
<div class="markdown-content py-2">
{{ .Content }}
{{ partial "shared/post-isbn" . }}
</div>
</div>
</div>

View file

@ -0,0 +1,8 @@
<div class="text-center text-muted mb-1">
{{ with .Params.ISBN }}
<span class="d-inline-flex align-items-center small mx-2">
<i class="fa-solid fa-book"></i>
<a href="https://search.worldcat.org/search?q={{ . }}&offset=1"> ISBN {{ . }}</a>
</span>
{{ end }}
</div>