mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-10 02:46:53 +00:00
Use frontpage images (#18718)
This commit is contained in:
parent
a9d7c8e809
commit
a01b461c1b
@ -22,6 +22,7 @@ tagline: >-
|
|||||||
</svg>
|
</svg>
|
||||||
tagline_wide: false
|
tagline_wide: false
|
||||||
og_image: /images/blue/blue_hero.jpg
|
og_image: /images/blue/blue_hero.jpg
|
||||||
|
frontpage_image: /images/frontpage/blue-frontpage.jpg
|
||||||
---
|
---
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
@ -5,6 +5,7 @@ date: 2021-07-28
|
|||||||
description: "Monitor your energy usage, transition to sustainable energy and save money"
|
description: "Monitor your energy usage, transition to sustainable energy and save money"
|
||||||
hero_image: /images/energy/hero.jpg
|
hero_image: /images/energy/hero.jpg
|
||||||
og_image: /images/blog/2021-08-energy/social.png
|
og_image: /images/blog/2021-08-energy/social.png
|
||||||
|
frontpage_image: /images/frontpage/energy-frontpage.jpg
|
||||||
tagline: The world is heating up. Together we can fix that.
|
tagline: The world is heating up. Together we can fix that.
|
||||||
sections:
|
sections:
|
||||||
- title: "Monitor usage"
|
- title: "Monitor usage"
|
||||||
|
@ -95,7 +95,7 @@ feedback: false
|
|||||||
class="material-card picture-promo"
|
class="material-card picture-promo"
|
||||||
href="{{page.url}}"
|
href="{{page.url}}"
|
||||||
style="
|
style="
|
||||||
background-image: url({{page.hero_image | default:page.og_image}});
|
background-image: url({{page.frontpage_image | default:page.og_image}});
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-color: #41bdf5;
|
background-color: #41bdf5;
|
||||||
"
|
"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user