mirror of
https://github.com/yuzu-emu/shared-bulma-theme.git
synced 2024-11-22 08:25:38 +01:00
Updated entry templates. Created static directly.
This commit is contained in:
parent
652f39dbaf
commit
968b6bb346
@ -6,4 +6,4 @@
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
13
layouts/entry/single.html
Normal file
13
layouts/entry/single.html
Normal 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 }}
|
18
layouts/entry/summary.html
Normal file
18
layouts/entry/summary.html
Normal 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
0
static/.gitkeep
Normal file
Loading…
Reference in New Issue
Block a user