Localize shared marketing templates by locale
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{% extends "layout.html" %}
|
||||
{% load wagtailcore_tags oxyan static string_filters %}
|
||||
{% load wagtailcore_tags oxyan static string_filters i18n %}
|
||||
|
||||
{% block extrahead %}
|
||||
{{ block.super }}
|
||||
@@ -15,11 +15,24 @@
|
||||
{% include "engine/partials/tech_theme_overrides.html" %}
|
||||
{% include "engine/partials/travel_theme_overrides.html" %}
|
||||
{% include "engine/partials/saas_theme_overrides.html" %}
|
||||
<style>
|
||||
:root { --mb-site-header-height: 88px; }
|
||||
header.mega_header {
|
||||
z-index: 1200;
|
||||
}
|
||||
.te-modern-saas .te-block--saas-testimonials .saas-testimonials__header {
|
||||
top: calc(var(--mb-site-header-height) + 8px);
|
||||
z-index: 20;
|
||||
}
|
||||
@media (max-width: 991.98px) {
|
||||
:root { --mb-site-header-height: 72px; }
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
||||
{% block layout %}
|
||||
<a class="btn btn-secondary hidelink" id="main_content_link" href="#skip_header" tabindex="2">
|
||||
Ga naar inhoud
|
||||
{% if request.LANGUAGE_CODE == 'ru' %}Перейти к содержанию{% elif request.LANGUAGE_CODE == 'de' %}Zum Inhalt springen{% elif request.LANGUAGE_CODE == 'fr' %}Aller au contenu{% elif request.LANGUAGE_CODE == 'es' %}Ir al contenido{% elif request.LANGUAGE_CODE == 'it' %}Vai al contenuto{% elif request.LANGUAGE_CODE == 'pt' %}Ir para o conteúdo{% elif request.LANGUAGE_CODE == 'nl' %}Ga naar inhoud{% else %}Skip to content{% endif %}
|
||||
</a>
|
||||
{% include_header header_template|default:"engine/partials/header.html" %}
|
||||
<div id="main_content" tabindex="-1">
|
||||
|
||||
Reference in New Issue
Block a user