mirror of
https://github.com/yuzu-emu/shared-bulma-theme.git
synced 2024-11-25 01:55:39 +01:00
Updated layout for entry summary and single.
This commit is contained in:
parent
fd06101484
commit
f0075c6636
@ -1,7 +1,7 @@
|
|||||||
{{ define "header" }}
|
{{ define "header" }}
|
||||||
{{ $author := index .Site.Data.authors ( .Params.author | default "" ) }}
|
{{ $author := index .Site.Data.authors ( .Params.author | default "" ) }}
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="mb-md blog-entry-header single" style="background-image: url('{{ .Site.BaseURL }}/{{ .Dir }}banner.png')" data-href="{{ .Permalink }}">
|
<div class="mb-md blog-entry-header single" style="background-image: url('{{ .Site.BaseURL }}/{{ .Dir }}banner.png')">
|
||||||
<div>
|
<div>
|
||||||
<span class="title px-md py-sm has-background-dark">{{ .Title }}</span>
|
<span class="title px-md py-sm has-background-dark">{{ .Title }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ $author := index .Site.Data.authors ( .Params.author | default "" ) }}
|
{{ $author := index .Site.Data.authors ( .Params.author | default "" ) }}
|
||||||
<div class="mb-md blog-entry-header summary" style="background-image: url('/{{ .Dir }}/banner.png')" data-href="{{ .Permalink }}">
|
<div class="mb-md blog-entry-header summary entry" style="background-image: url('/{{ .Dir }}/summary.png')" data-href="{{ .Permalink }}">
|
||||||
<div class="px-md">
|
<div class="px-md">
|
||||||
<span class="title">{{ .Title }}</span>
|
<span class="title">{{ .Title }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user