gmgauthier.com/layouts/reading/reading.html

25 lines
672 B
HTML
Raw Normal View History

2021-11-29 17:29:47 +00:00
{{ partial "header.html" . }}
<div class="header" style="background-color: whitesmoke">
<h1>{{ .Title }}</h1>
</div>
<div class="content">
{{ range .Data.Pages.GroupByParam "topic"}}
2021-11-29 17:29:47 +00:00
<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>
2021-11-29 17:29:47 +00:00
<ul>
{{ range .Pages.ByParam "era" }}
2021-11-29 17:29:47 +00:00
{{ .Render "li" }}
{{ end }}
</ul>
{{ end }}
</div>
{{ partial "footer.html" . }}