sillon-fictionnel/themes/writeonly/layouts/partials/shared/post-isbn.html

17 lines
621 B
HTML
Raw Permalink Normal View History

<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>&#8200;
<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>&#8200;
<a href="https://search.worldcat.org/search?q={{ . }}&offset=1"> ISBN {{ . }} &#8200;</a>
{{ end }}
</span>
{{ end }}
</div>