Revert "Adding background_position option"
This reverts commit ed508759b2
.
This commit is contained in:
parent
ed508759b2
commit
1b75fd41bd
2 changed files with 1 additions and 4 deletions
|
@ -32,8 +32,6 @@ params:
|
||||||
|
|
||||||
# background image of the landing page
|
# background image of the landing page
|
||||||
background: "images/background.jpg"
|
background: "images/background.jpg"
|
||||||
# optional alignment of the background image
|
|
||||||
#background-position: center
|
|
||||||
|
|
||||||
# Provide logos for your site. The inverted logo will be used in the initial
|
# Provide logos for your site. The inverted logo will be used in the initial
|
||||||
# transparent navbar and the main logo will be used in the non-transparent navbar.
|
# transparent navbar and the main logo will be used in the non-transparent navbar.
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
<div class="container-fluid home" id="home">
|
<div class="container-fluid home" id="home">
|
||||||
<div
|
<div
|
||||||
class="background container-fluid"
|
class="background container-fluid"
|
||||||
style="background-image: url('{{ if .Site.Params.background }}{{ .Site.Params.background }}{{ else }}/assets/images/default-background.jpg{{ end }}');
|
style="background-image: url('{{ if .Site.Params.background }}{{ .Site.Params.background }}{{ else }}/assets/images/default-background.jpg{{ end }}');"
|
||||||
{{ if .Site.Params.background_position }}background-position: {{ .Site.Params.background_position }};{{ end }}"
|
|
||||||
></div>
|
></div>
|
||||||
<div class="container content text-center">
|
<div class="container content text-center">
|
||||||
<img src="{{ if .Site.Params.author.image }}{{ .Site.Params.author.image }}{{ else }}/assets/images/default-avatar.png{{ end }}"
|
<img src="{{ if .Site.Params.author.image }}{{ .Site.Params.author.image }}{{ else }}/assets/images/default-avatar.png{{ end }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue