forked from mirrors/hugo-tufte
61 lines
1.7 KiB
HTML
61 lines
1.7 KiB
HTML
|
{{ partial "header.html" . }}
|
||
|
|
||
|
<body>
|
||
|
|
||
|
<div id="layout" class="pure-g">
|
||
|
<div class="content content-column pure-u-1 pure-u-md-4-5">
|
||
|
{{ partial "brand.html" . }}
|
||
|
|
||
|
<h1 class="content-title-mini">{{ .Title }}</h1>
|
||
|
{{ $data := .Data }}
|
||
|
<div class="pure-g">
|
||
|
<div class="pure-u-1 pure-u-sm-1-2">
|
||
|
<h2 class="list-title">By Frequency</h2>
|
||
|
<table class="pure-table pure-table-horizontal pure-table-striped">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th>Term</th>
|
||
|
<th>Count</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
</tbody>
|
||
|
{{ range $key, $value := .Data.Terms.ByCount }}
|
||
|
<tr>
|
||
|
<td><a href="{{ $data.Plural }}/{{ $value.Name| urlize }}">
|
||
|
{{ $value.Name}}
|
||
|
</a></td>
|
||
|
<td>{{ $value.Count }}</td>
|
||
|
</tr>
|
||
|
{{ end }}
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
|
||
|
<div class="pure-u-1 pure-u-sm-1-2">
|
||
|
<h2 class="list-title">Alphabetically</h2>
|
||
|
<table class="pure-table pure-table-horizontal pure-table-striped">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th>Term</th>
|
||
|
<th>Count</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
</tbody>
|
||
|
{{ range $key, $value := .Data.Terms.Alphabetical}}
|
||
|
<tr>
|
||
|
<td><a href="{{ $data.Plural }}/{{ $value.Name| urlize }}">
|
||
|
{{ $value.Name}}
|
||
|
</a></td>
|
||
|
<td>{{ $value.Count }}</td>
|
||
|
</tr>
|
||
|
{{ end }}
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
</div>
|
||
|
{{ partial "footer.html" . }}
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|