Initial commit; page is a clone of bonifacelabs.ca but with changed content (of course).
This commit is contained in:
20
themes/scroll/layouts/_default/list.html
Normal file
20
themes/scroll/layouts/_default/list.html
Normal file
@ -0,0 +1,20 @@
|
||||
{{ partial "header.html" . }}
|
||||
<body>
|
||||
<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>
|
14
themes/scroll/layouts/_default/single.html
Normal file
14
themes/scroll/layouts/_default/single.html
Normal file
@ -0,0 +1,14 @@
|
||||
{{ partial "header.html" . }}
|
||||
<body>
|
||||
<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>
|
Reference in New Issue
Block a user