Use frontpage images (#18718)

This commit is contained in:
Joakim Sørensen 2021-08-04 03:28:14 +02:00 committed by GitHub
parent a9d7c8e809
commit a01b461c1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View File

@ -22,6 +22,7 @@ tagline: >-
</svg>
tagline_wide: false
og_image: /images/blue/blue_hero.jpg
frontpage_image: /images/frontpage/blue-frontpage.jpg
---
<div class="content">

View File

@ -5,6 +5,7 @@ date: 2021-07-28
description: "Monitor your energy usage, transition to sustainable energy and save money"
hero_image: /images/energy/hero.jpg
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.
sections:
- title: "Monitor usage"

View File

@ -95,7 +95,7 @@ feedback: false
class="material-card picture-promo"
href="{{page.url}}"
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-color: #41bdf5;
"