Initial commit
This commit is contained in:
parent
89eaf19aa2
commit
113550eb8a
24 changed files with 1040 additions and 0 deletions
layouts/_default
19
layouts/_default/list.html
Normal file
19
layouts/_default/list.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
{{ partial "header.html" . }}
|
||||
{{ range .Data.Pages.GroupByDate "2006" }}
|
||||
<div class="listBody">
|
||||
<div class="list">
|
||||
<h2>{{ .Key }}</h2>
|
||||
{{ range .Pages }}
|
||||
<h3>
|
||||
<a href="{{ .Permalink }}">
|
||||
{{ .Title }} {{ if .GetParam "draft" }}DRAFT{{ end }}
|
||||
</a>
|
||||
</h3>
|
||||
<div class="post-meta">
|
||||
{{ .Date.Format "Mon, Jan 2, 2006" }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ partial "footer.html" . }}
|
9
layouts/_default/single.html
Normal file
9
layouts/_default/single.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
{{ partial "header.html" . }}
|
||||
<div class="postBody">
|
||||
<div class="post">
|
||||
{{ if .Title }}<h1>{{ .Title }}</h1>{{ end }}
|
||||
<span class="post-meta">{{ .Date.Format "Mon, Jan 2, 2006" }}</span>
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</div>
|
||||
{{ partial "footer.html" . }}
|
Loading…
Add table
Add a link
Reference in a new issue