Temporarily removed /entry/ layout. Updated single to use section container.

This commit is contained in:
Chris 2018-01-12 23:36:56 -05:00
parent 6ed8d94be8
commit ee041a92db
3 changed files with 3 additions and 37 deletions

View File

@ -1,11 +1,10 @@
{{ define "main" }}
<section class="section">
<div class="container">
<div class="box">
<h1 class="title">{{ .Title }}</h1>
<h2 class="subtitle">{{ .Date.Format "January 02 2006" }}</h2>
<div class="content">
{{ .Content }}
</div>
</div>
</div>
</section>
{{ end }}

View File

@ -1,15 +0,0 @@
{{ define "main" }}
<div class="container">
<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>
</div>
{{ end }}

View File

@ -1,18 +0,0 @@
<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>