gmgauthier.com/layouts/reading/reading.html

25 lines
672 B
HTML

{{ partial "header.html" . }}
<div class="header" style="background-color: whitesmoke">
<h1>{{ .Title }}</h1>
</div>
<div class="content">
{{ range .Data.Pages.GroupByParam "topic"}}
<h2>{{ .Key }}</h2>
<div class="row">
<div class="micro-block"><b>&nbsp; &nbsp;</b></div>
<div class="big-block" style="vertical-align: middle"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Title</b></div>
<div class="small-block"><b>&nbsp; &nbsp; &nbsp; Author</b></div>
<div class="small-block"><b>&nbsp; &nbsp; Era</b></div>
</div>
<ul>
{{ range .Pages.ByParam "era" }}
{{ .Render "li" }}
{{ end }}
</ul>
{{ end }}
</div>
{{ partial "footer.html" . }}