Initial commit.

This commit is contained in:
Shawn O'Hare 2015-12-29 18:35:20 -08:00
commit b3a2e36507
50 changed files with 2152 additions and 0 deletions

View file

@ -0,0 +1,43 @@
{{ 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>
{{ range .Data.Pages.GroupByDate "2006" }}
<details open>
<summary>{{ .Key }} ({{ len .Pages }})</summary>
{{ range .Pages.GroupByDate "January" }}
<div class="list-page">
<ul>
<li>
<details open>
<summary>{{ .Key }} ({{ len .Pages }})</summary>
{{ range .Pages }}
<ul>
<li>
<span class="list-date">{{ .Date.Format "Jan 2" }} &middot;</span>
<a href="{{ .RelPermalink }}">{{.Title}}</a>
</li>
</ul>
{{ end }}
</details>
</li>
</ul>
</div>
{{ end }}
</details>
{{ end }}
{{ partial "footer.html" . }}
</div>
</div>
</body>
</html>

View file

@ -0,0 +1,21 @@
{{ .Title }}
<!-- {{ template "_internal/pagination.html" }} -->
Hello this is a list of content.
{{ .TableOfContents }}
{{ $paginator := .Paginate ( (.Data.Pages.GroupByDate "2006") ) }}
<ul>
<li>PageNumber: {{ $paginator.PageNumber }}</li>
<li>URL: {{ $paginator.URL}}</li>
<li>Pages: {{ $paginator.Pages }}</li>
<li>TotalPages: {{ $paginator.TotalPages }}</li>
</ul>
{{ range $paginator.PageGroups }}
<h2>{{ .Key }}</h2>
{{ range .Pages }}
<br/>
<a href="{{ .RelPermalink }}">{{.Title}}</a>
{{ end }}
{{ end }}

View file

@ -0,0 +1,23 @@
{{ 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" . }}
{{ partial "content.header.html" . }}
{{ if .Params.toc }}
<div class="toc">
<h1>Contents</h1>
{{ .TableOfContents }}
</div>
{{ end }}
{{ .Content }}
{{ partial "disqus.html" . }}
{{ partial "footer.html" . }}
</div>
</div>
{{ partial "body.includes.html" . }}
</body>
</html>

View file

@ -0,0 +1 @@
{{ .Summary }}

View file

@ -0,0 +1,60 @@
{{ 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>