38 lines
1.8 KiB
HTML
38 lines
1.8 KiB
HTML
|
{% extends "base.html" %}
|
||
|
|
||
|
{% block title %}{{ page.title }} - {{ super() }}{% endblock title %}
|
||
|
{% block description %}{{ page.content|striptags|truncate(200)|escape }}{% endblock description %}
|
||
|
|
||
|
{% block headerstyle %}
|
||
|
{% if page.illustration %}
|
||
|
<div class="header-container" style="background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('{{ SITEURL }}/images/{{ page.illustration }}'); background-position: center; ">
|
||
|
{% elif NEST_HEADER_IMAGES %}
|
||
|
<div class="header-container" style="background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('{{ SITEURL }}/images/{{ NEST_HEADER_IMAGES }}'); background-position: center; ">
|
||
|
{% else %}
|
||
|
<div class="header-container gradient">
|
||
|
{% endif %}
|
||
|
{% endblock headerstyle %}
|
||
|
|
||
|
{% block header %}
|
||
|
<div class="container header-wrapper">
|
||
|
<div class="row">
|
||
|
<div class="col-lg-12">
|
||
|
<div class="header-content">
|
||
|
<a href="https://www.lip6.fr/"><img class="mr20" height="60px" src="{{ SITEURL }}/images/common/LogoLIP6Blanc.png" alt="LIP6"></a>
|
||
|
<a href="https://www.sorbonne-universite.fr/"><img class="mr20" height="60px" src="{{ SITEURL }}/images/common/logo-SU-blanc-700px.png" alt="Sorbonne Universite"></a>
|
||
|
<a href="https://www.cnrs.fr/"><img class="mr20" height="60px" src="{{ SITEURL }}/images/common/LOGO-cnrs-white-large.png" alt="CNRS"></a>
|
||
|
<h1 class="header-title text-uppercase">{{ page.title }}</h1>
|
||
|
<div class="header-underline"></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
{% endblock header %}
|
||
|
|
||
|
{% block content %}
|
||
|
<div class="container content">
|
||
|
{{ page.content }}
|
||
|
</div>
|
||
|
{% endblock %}
|
||
|
|