mirror of
https://github.com/yuzu-emu/shared-bulma-theme.git
synced 2024-11-22 09:55:37 +01:00
Temporarily removed /entry/ layout. Updated single to use section container.
This commit is contained in:
parent
6ed8d94be8
commit
ee041a92db
@ -1,11 +1,10 @@
|
||||
{{ define "main" }}
|
||||
<div class="container">
|
||||
<div class="box">
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<h1 class="title">{{ .Title }}</h1>
|
||||
<h2 class="subtitle">{{ .Date.Format "January 02 2006" }}</h2>
|
||||
<div class="content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
@ -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 }}
|
@ -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>
|
Loading…
Reference in New Issue
Block a user