2022-12-27 06:58:09 +00:00
|
|
|
{{ define "main"}}
|
2022-12-27 07:21:49 +00:00
|
|
|
<div id="writing-page" class="section writing">
|
2022-12-27 06:58:09 +00:00
|
|
|
<div>
|
|
|
|
<div class="writing-section">
|
2022-12-27 07:01:50 +00:00
|
|
|
<div class="columns">
|
|
|
|
<div class="column is-one-fifth" >
|
|
|
|
<div class="thead">ESSAYS</div>
|
2022-12-27 06:58:09 +00:00
|
|
|
</div>
|
2022-12-27 07:01:50 +00:00
|
|
|
<div class="column">
|
|
|
|
{{ partial "essay-accordion" (dict "essays" .Params.Essays "year" 2022)}}
|
|
|
|
{{ partial "essay-accordion" (dict "essays" .Params.Essays "year" 2021)}}
|
|
|
|
{{ partial "essay-accordion" (dict "essays" .Params.Essays "year" 2020)}}
|
|
|
|
{{ partial "essay-accordion" (dict "essays" .Params.Essays "year" 2019)}}
|
|
|
|
{{ partial "essay-accordion" (dict "essays" .Params.Essays "year" 2018)}}
|
|
|
|
{{ partial "essay-accordion" (dict "essays" .Params.Essays "year" 2017)}}
|
2022-12-27 07:19:29 +00:00
|
|
|
{{ partial "accordion-script"}}
|
2022-12-27 07:01:50 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-12-27 06:58:09 +00:00
|
|
|
</div>
|
|
|
|
<div class="flex-row-books">
|
|
|
|
<div class="thead">BOOKS</div>
|
|
|
|
{{ range .Params.Books }}
|
|
|
|
<div class="book-cell">
|
|
|
|
<h6>{{ .title }}</h6>
|
|
|
|
<div class="book-cover">
|
|
|
|
<a href={{ .path }}>
|
|
|
|
<img src={{ .imgsrc }} alt={{ .title }}>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<p class="book-stats"><i><a href={{ .path }}>Details</a></i></p>
|
|
|
|
<p class="book-stats"><b>{{ .body }}</b></p>
|
|
|
|
</div>
|
|
|
|
{{ end}}
|
|
|
|
</div>
|
|
|
|
<div class="writing-section">
|
|
|
|
<div class="thead">COLLECTIVE WRITING</div>
|
|
|
|
{{ range .Params.Collective }}
|
|
|
|
<div class="writing-item">
|
|
|
|
<p><strong><a href={{ .url }}>{{ .title}}</a></strong>, {{ .blurb }} <em><a
|
|
|
|
href={{ .puburl}}>{{ .publication }}</a></em>.</p>
|
|
|
|
<p><i>Published in {{ .year }}</i></p>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|