fix cta displaying
This commit is contained in:
@@ -1,6 +1,21 @@
|
||||
{% extends 'partials/base.html.twig' %}
|
||||
{% set hero_image = page.media.images|first %}
|
||||
{% block content %}
|
||||
<style>
|
||||
.nav {
|
||||
margin-top:3rem;
|
||||
font-size:1.6em;
|
||||
animation: adjustMargin 10s forwards;
|
||||
}
|
||||
@keyframes adjustMargin {
|
||||
0% {
|
||||
margin-top: 3rem;
|
||||
}
|
||||
100% {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<div class="home">
|
||||
<div class="profile">
|
||||
{{ hero_image.html(meta.title|e, meta.alt_text|e, 'img-profile')|absolute_url|raw }}
|
||||
|
||||
@@ -94,7 +94,7 @@
|
||||
<body id="top"{% if page.header.onload %} onload='{{ page.header.onload|raw }}'{% endif %}>
|
||||
|
||||
{# CTA banner #}
|
||||
{% if base_url_relative == '/' %}
|
||||
{% if base_url_relative == '' %}
|
||||
<div class="cta">{% include 'partials/cta.html.twig' %}</div>
|
||||
{% endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user