Initial commit

This commit is contained in:
Tony Blyler 2016-11-02 23:10:49 -04:00
parent 89eaf19aa2
commit 113550eb8a
24 changed files with 1040 additions and 0 deletions

12
layouts/post/single.html Normal file
View file

@ -0,0 +1,12 @@
{{ partial "header.html" . }}
<div class="postBody">
<div class="post">
<h1>{{ .Title }}</h1>
<span class="post-meta">{{ .Date.Format "Mon, Jan 2, 2006" }} - Read in {{ .ReadingTime }} Min</span>
<div class="content">
{{ .TableOfContents }}
{{ .Content }}
</div>
</div>
</div>
{{ partial "footer.html" . }}

16
layouts/post/summary.html Normal file
View file

@ -0,0 +1,16 @@
<div class="postBody">
<article class="post">
<header>
<h1>
<a href="{{ .Permalink }}">{{ .Title }} {{ if .Draft }}:: DRAFT{{end}}</a>
</h1>
<span class="post-meta">
{{ .Date.Format "Mon, Jan 2, 2006" }} - Read in {{ .ReadingTime }} Min
</span>
</header>
<div class="summary">
{{ .Summary }}
<a href="{{ .Permalink }}">Read more...</a>
</div>
</article>
</div>