new: [ISBN] ajout de ISBNS car c'est toujours mieux quand on est plusieurs

This commit is contained in:
Alexandre Dulaunoy 2024-03-09 14:55:52 +01:00
parent 5ae235f6bb
commit d712adad49
Signed by: adulau
GPG key ID: 09E2CD4944E6CBCD

View file

@ -2,7 +2,15 @@
{{ with .Params.ISBN }} {{ with .Params.ISBN }}
<span class="d-inline-flex align-items-center small mx-2"> <span class="d-inline-flex align-items-center small mx-2">
<i class="fa-solid fa-book"></i> <i class="fa-solid fa-book"></i>
<a href="https://search.worldcat.org/search?q={{ . }}&offset=1"> -> ISBN {{ . }}</a> <a href="https://search.worldcat.org/search?q={{ . }}&offset=1"> ISBN {{ . }}</a>
</span>
{{ end }}
{{ with .Params.ISBNS }}
<span class="d-inline-flex align-items-center small mx-2">
{{ range . }}
<i class="fa-solid fa-book"></i>
<a href="https://search.worldcat.org/search?q={{ . }}&offset=1"> ISBN {{ . }} &#8200;</a>
{{ end }}
</span> </span>
{{ end }} {{ end }}
</div> </div>