mirror of
https://github.com/yuzu-emu/shared-bulma-theme.git
synced 2024-11-21 22:35:41 +01:00
layouts/entry/single:fix background image scaling
This commit is contained in:
parent
c5ac01dd28
commit
81d8c468ad
@ -1,7 +1,7 @@
|
|||||||
{{ define "header" }}
|
{{ define "header" }}
|
||||||
{{ $author := index .Site.Data.authors ( .Params.author | default "" ) }}
|
{{ $author := index .Site.Data.authors ( .Params.author | default "" ) }}
|
||||||
{{ $coauthors := split ( .Params.coauthor | default "" ) "," }}
|
{{ $coauthors := split ( .Params.coauthor | default "" ) "," }}
|
||||||
<div class="mb-md blog-entry-header single" style="background-image: url('{{ .Site.BaseURL }}/{{ .Dir }}banner.png')"></div>
|
<div class="mb-md blog-entry-header single" style="background-image: url('{{ .Site.BaseURL }}/{{ .Dir }}banner.png');background-repeat:no-repeat;background-size:contain;background-position:center;"></div>
|
||||||
<div class="has-text-centered">
|
<div class="has-text-centered">
|
||||||
<div>
|
<div>
|
||||||
<span class="title px-md py-sm">{{ .Title }}</span>
|
<span class="title px-md py-sm">{{ .Title }}</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user