sophie-lewis-hugo/layouts/partials/books-section.html

23 lines
673 B
HTML
Raw Normal View History

<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>
<div class="book-cover">
<a href={{ .path }}>
<img src={{ .imgsrc }} alt={{ .title }}>
</a>
</div>
2022-12-27 07:32:59 +00:00
<p class="book-blurb"><b>{{ .body }}</b></p>
<p class="book-detail"><a href={{ .path }}>Details</a></p>
</div>
</div>
{{ end}}
</div>
</div>
</div>