changelog added
This commit is contained in:
6
layouts/partials/bg-image.html
Normal file
6
layouts/partials/bg-image.html
Normal file
@@ -0,0 +1,6 @@
|
||||
{{- $src := .Src | default "" -}}
|
||||
{{- $size := .Size | default "cover" -}}
|
||||
|
||||
{{- if $src -}}
|
||||
style="background-image:url('{{ $src | absURL }}');background-size:{{ $size }};background-position:center center;background-repeat:no-repeat;"
|
||||
{{- end -}}
|
||||
Reference in New Issue
Block a user