mirror of
https://github.com/yuzu-emu/shared-bulma-theme.git
synced 2024-11-21 23:15:37 +01:00
Updated layout for entry summary and single.
This commit is contained in:
parent
fd06101484
commit
f0075c6636
@ -1,7 +1,7 @@
|
||||
{{ define "header" }}
|
||||
{{ $author := index .Site.Data.authors ( .Params.author | default "" ) }}
|
||||
<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>
|
||||
<span class="title px-md py-sm has-background-dark">{{ .Title }}</span>
|
||||
</div>
|
||||
|
@ -15,7 +15,7 @@
|
||||
</div>
|
||||
{{ else }}
|
||||
{{ $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">
|
||||
<span class="title">{{ .Title }}</span>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user