first commit

This commit is contained in:
Jeremy Kidwell 2017-06-26 20:57:02 +01:00
commit 13e2fd6e74
125 changed files with 19943 additions and 0 deletions

37
layouts/indexes/blog.html Executable file
View file

@ -0,0 +1,37 @@
{{ partial "header.html" . }}
<body lang="en">
<div id="topbar">
<div class="wrapper">
<header>
{{ partial "sidebar.html" . }}
{{ $baseurl := .Site.BaseURL }}
</header>
</div>
</div>
<div class="wrapper">
<div class="units-row">
<div class="unit-70">
<!-- Column of even-numbered posts -->
{{ range (.Paginator 10).Pages }}
{{ .Render "summary" }}
{{ end }}
</div>
<div class="unit-30">
<h3></h3>
<p><em>Sociology and other distractions, since 2002. View <a href="blog/archives/">all posts by date</a>, or <a href="/categories/">an index of posts by category</a></em>.</p>
</div>
</div>
</div>
{{partial "paging.html" . }}
<br />
<hr class="separator">
{{ partial "whatisthis.html" . }}
{{ partial "foot.html" . }}

34
layouts/indexes/category.html Executable file
View file

@ -0,0 +1,34 @@
{{ partial "header.html" . }}
<body lang="en" itemscope itemtype="http://schema.org/Article">
<div id="topbar">
<div class="wrapper">
<header>
{{ template "partials/sidebar.html" . }}
{{ $baseurl := .Site.BaseURL }}
</header>
</div>
</div>
<div class="wrapper">
<p class="lead"><a href="/categories/">Categories</a> &rtrif; {{ .Title }}</p>
<ul class="post" id="list">
{{ range (.Paginator 10).Pages }}
{{ .Render "summary"}}
{{ end }}
</ul>
</div>
{{partial "paging.html" . }}
<hr class="separator">
{{ partial "whatisthis.html" . }}
{{ partial "foot.html" . }}

36
layouts/indexes/indexes.html Executable file
View file

@ -0,0 +1,36 @@
{{ partial "header.html" . }}
<body lang="en" itemscope itemtype="http://schema.org/Article">
<div id="topbar">
<div class="wrapper">
<header>
{{ template "partials/sidebar.html" . }}
{{ $baseurl := .Site.BaseURL }}
</header>
</div>
</div>
<div class="wrapper">
<div class="units-row">
<div class="unit-centered unit-80">
<h2>Category Index</h2>
<p class="capitalize">
{{ $data := .Data }}
{{ range $key,$value := .Data.Index.ByCount }}
&middot; <a href="categories/{{ $value.Name | urlize }}"> {{ $value.Name }} </a> ({{ $value.Count }})
{{ end }}
</p>
{{ partial "allcats.html" . }}
</div>
</div>
</div>
<hr class="separator">
{{ partial "whatisthis.html" . }}
{{ partial "foot.html" . }}
</body>
</html>

19
layouts/indexes/page.html Executable file
View file

@ -0,0 +1,19 @@
{{ partial "header.html" . }}
<body lang="en" class="theme-base-0f">
{{ partial "sidebar.html" . }}
<div class="content container">
<section id="main">
<div>
<ul id="list">
{{ range first 10 .Data.Pages }}
{{ .Render "summary"}}
{{ end }}
</ul>
</div>
</section>
{{ partial "footer.html" . }}