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

23 lines
672 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>
<p class="book-stats"><b>{{ .body }}</b></p>
<p class="book-stats"><a href={{ .path }}>Details</a></p>
</div>
</div>
{{ end}}
</div>
</div>
</div>