mirror of
https://github.com/yuzu-emu/shared-bulma-theme.git
synced 2024-11-22 15:45:41 +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" }}
|
{{ define "main" }}
|
||||||
<div class="container">
|
<section class="section">
|
||||||
<div class="box">
|
<div class="container">
|
||||||
<h1 class="title">{{ .Title }}</h1>
|
<h1 class="title">{{ .Title }}</h1>
|
||||||
<h2 class="subtitle">{{ .Date.Format "January 02 2006" }}</h2>
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</section>
|
||||||
{{ end }}
|
{{ 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