This repository has been archived on 2023-01-31. You can view files and clone it, but cannot push or open issues or pull requests.
sophie-lewis-hugo/layouts/partials/books-section.html
Pau 436d539aaf
All checks were successful
continuous-integration/drone/push Build is passing
Space belowbook title
2023-01-08 13:16:14 +00:00

24 lines
678 B
HTML

<div id="books-section" class="columns">
<div class="column is-one-fifth">
<div class="thead">BOOKS</div>
</div>
<div class="column">
<div class="columns">
{{ range .Params.Books }}
<div class="column is-half">
<div class="book-cell">
<h3>{{ .title }}</h3><br>
<div class="book-cover">
<a href={{ .path }}>
<img src={{ .imgsrc }} alt={{ .title }}>
</a>
</div>
<p class="book-blurb"><b>{{ .body }}</b></p>
<p class="book-detail"><a href={{ .path }}>Details</a></p>
</div>
</div>
{{ end}}
</div>
</div>
</div>