-
Notifications
You must be signed in to change notification settings - Fork 19
/
header-page.html
60 lines (59 loc) · 2.19 KB
/
header-page.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<aside class="pre-header">
<div class="wrapper">
<div class="pre-header-tagline">{% t Le seul événement français dédié à la Web Performance %}</div>
{% include social-links.html year=include.year %}
</div>
</aside>
<header class="page-header">
<div class="wrapper">
<div class="page-main-title">
<a
class="page-main-title-link"
href="{{ page.baseurl | default:site.baseurl }}/{{ page.year|default: site.current_edition }}/{{ include.link.anchor }}"
title="{% t Accueil %}">
<img
src="/assets/svg/wls-inline
{%- if page.year == 2020 -%}
-lazy-loaded
{%- endif -%}.svg"
class="page-main-title-logo"
alt="{{ site.seo_title }}"
width="190"
height="44">
</a>
{% include navigation.html year=year %}
<div class="page-header-buttons">
{% if page.translation %}
{% assign hreflang = page.translation.locale | slice: 0, 2 %}
<div class="lang-switch">
{% t FR %} |
<a
hreflang="{{ hreflang }}"
href="{{ page.translation.url | relative_url }}"
title="{% t Switch to EN %}">{{ hreflang }}</a>
</div>
{% endif %}
{% if site.tickets.selling %}
<a
href="{{ page.baseurl | default: site.baseurl }}/{{ site.current_edition }}/{% t billetterie %}"
class="button"
data-text="{% t Acheter votre place %}"
title="{% t Acheter votre place %}">
<span class="button-inner">{% t Acheter votre place %}</span>
</a>
{% else %}
<a
href="{{ page.baseurl | default: site.baseurl }}/{{ page.year | default: site.current_edition }}/{% t interventions %}"
class="button"
data-text="{% t Voir les conférences %}"
title="{% t Voir les conférences %}">
<span class="button-inner">{% t Voir les conférences %}</span>
</a>
{% endif %}
</div>
</div>
</div>
</header>
{% unless page.hide_banner %}
{% include banners/banner-elephant-nantes.html locale=page.locale page_top=true no_lazy=true %}
{% endunless %}