Skip to content
Snippets Groups Projects
Commit 9d659182 authored by alexisben's avatar alexisben
Browse files

hero fix

parent b23f6f67
No related branches found
No related tags found
No related merge requests found
...@@ -65,8 +65,7 @@ ...@@ -65,8 +65,7 @@
@include media-breakpoint-up(desktop) @include media-breakpoint-up(desktop)
.hero-text .hero-text
.hero-text width: columns(9)
width: columns(9)
&--with-image &--with-image
.content .content
display: flex display: flex
......
...@@ -275,7 +275,7 @@ ...@@ -275,7 +275,7 @@
function openInProd() { function openInProd() {
// To use this debug method, add params.productionUrl key to your hugo config.yaml // To use this debug method, add params.productionUrl key to your hugo config.yaml
const productionUrl = "{{ site.Params.productionUrl }}"; const productionUrl = "{{ site.Params.debug.productionUrl }}";
if (productionUrl) { if (productionUrl) {
window.open(`${productionUrl}${window.location.pathname}`); window.open(`${productionUrl}${window.location.pathname}`);
} }
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
{{ partial "header/hero.html" {{ partial "header/hero.html"
(dict (dict
"title" $title "title" $title
"image" .Params.image
"sizes" site.Params.image_sizes.sections.home.hero
"context" . "context" .
"hero_complement" "programs/essential.html" "hero_complement" "programs/essential.html"
)}} )}}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment