Updated entry templates. Created static directly.

This commit is contained in:
Chris 2018-01-07 00:13:08 -05:00
parent 652f39dbaf
commit 968b6bb346
4 changed files with 32 additions and 1 deletions

13
layouts/entry/single.html Normal file
View file

@ -0,0 +1,13 @@
{{ define "main" }}
<figure class="image is-2by1">
<img src="{{.Permalink}}banner.png" alt="">
</figure>
<div class="box">
<h1 class="title">{{ .Title }}</h1>
<h2 class="subtitle">{{ .Date.Format "January 02 2006" }}</h2>
<div class="content">
{{ .Content }}
</div>
</div>
{{ end }}

View file

@ -0,0 +1,18 @@
<a href="{{ .Permalink }}">
<div class="card">
<div class="card-image">
<figure class="image is-2by1">
<img src="{{.Permalink}}banner.png" alt="">
</figure>
</div>
<div class="card-content">
<p class="title is-4">{{ .Title }}</p>
<p class="subtitle is-6">{{ .Date.Format "January 02 2006" }} by {{ .Params.author }}</p>
<div class="content">
{{ .Summary }}
</div>
</div>
</div>
</a>

0
static/.gitkeep Normal file
View file