Added theme back properly

This commit is contained in:
2016-08-22 00:12:29 -04:00
parent cc02ecd059
commit da9e1b57a7
98 changed files with 15413 additions and 0 deletions

View File

@ -0,0 +1,21 @@
{{ partial "head.html" . }}
<body>
{{ partial "sidebar.html" . }}
<div class="content-wrapper">
<div class="content-wrapper__inner">
{{ range .Data.Pages.GroupByDate "2006" }}
<h2>{{ .Key }}</h2>
<ul id="list">
{{range .Pages }}
<li>
<a href="{{ .Permalink }}">{{ .Title }} {{ if .GetParam "draft"}}DRAFT{{end}}</a>
<div class="meta">{{ .Date.Format "Mon, Jan 2, 2006" }}</div>
</li>
{{ end }}
</ul>
{{ end }}
</div>
</div>
</body>
{{ partial "script.html" .}}
</html>

View File

@ -0,0 +1,15 @@
{{ partial "head.html" . }}
<body>
{{ partial "sidebar.html" . }}
<div class="content-wrapper">
<div class="content-wrapper__inner">
<div class="post">
<h1>{{ .Title }}</h1>
<span class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span>
{{ .Content }}
</div>
</div>
</div>
</body>
{{ partial "script.html" .}}
</html>

View File

@ -0,0 +1,36 @@
{{ partial "head.html" . }}
<body>
{{ partial "sidebar.html" . }}
<div class="content-wrapper">
<div class="content-wrapper__inner">
<section id="main">
<div>
<h1 id="title">{{ .Title }}</h1>
<style type="text/css">
#double ul{
width:760px;
margin-bottom:20px;
overflow:hidden;
}
#double li{
line-height:1.5em;
float:left;
display:inline;
width:50%;
}
</style>
<ul id="double">
{{ $data := .Data }}
{{ range $key, $value := .Data.Terms }}
<li>
<a href="{{ $key | urlize }}">{{ $key }}</a> {{ len $value }}
</li>
{{ end }}
</ul>
</div>
</section>
</div>
</div>
</body>
{{ partial "script.html" .}}
</html>