mirror of
https://github.com/yuzu-emu/shared-bulma-theme
synced 2024-11-26 10:17:55 +00:00
layouts/entry/single:fix background image scaling
This commit is contained in:
parent
c5ac01dd28
commit
81d8c468ad
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
{{ define "header" }}
|
||||
{{ $author := index .Site.Data.authors ( .Params.author | 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>
|
||||
<span class="title px-md py-sm">{{ .Title }}</span>
|
||||
|
|
Loading…
Reference in a new issue