Skip to content
Snippets Groups Projects
Commit 381a935c authored by alexisben's avatar alexisben
Browse files

Merge branch '6.0' into 6.0-buttons

parents cd2bd99c 996021e2
No related branches found
No related tags found
No related merge requests found
......@@ -16,9 +16,8 @@
.content
align-items: start
padding-top: $spacing-5
> h1, > hgroup
.hero-text
margin-top: $spacing-5
h1 + p
margin-top: $spacing-3
.lead
......@@ -49,7 +48,7 @@
&--with-image
padding-bottom: 0
.content
> h1, > hgroup
.hero-text
margin-bottom: $spacing-4
&--image-landscape
.content
......@@ -65,14 +64,13 @@
margin-bottom: calc(#{-$spacing-7} + #{$spacing-4})
@include media-breakpoint-up(desktop)
.content
> h1, > hgroup
width: columns(9)
.hero-text
width: columns(9)
&--with-image
.content
display: flex
justify-content: space-between
> h1, > hgroup
.hero-text
width: columns(7)
figure
width: columns(5)
......@@ -84,7 +82,7 @@
.breadcrumb
padding-right: 10%
.content
> h1, > hgroup
.hero-text
width: columns(8)
figure
width: columns(3)
......
......@@ -61,7 +61,7 @@
@include media-breakpoint-up(desktop)
.hero
.content
> h1, > hgroup
.hero-text
width: auto
.paper-sidebar
> div
......
......@@ -274,7 +274,11 @@
}
function openInProd() {
console.log('{{ .Site.BaseURL }}')
// To use this debug method, add params.productionUrl key to your hugo config.yaml
const productionUrl = "{{ site.Params.debug.productionUrl }}";
if (productionUrl) {
window.open(`${productionUrl}${window.location.pathname}`);
}
}
</script>
\ No newline at end of file
......@@ -2,8 +2,6 @@
{{ partial "header/hero.html"
(dict
"title" $title
"image" .Params.image
"sizes" site.Params.image_sizes.sections.home.hero
"context" .
"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