templates/extra_pages/article.html.twig line 1
{% extends "base.html.twig" %}
{% block title %}
{{ parent() }} - All
{% endblock %}
{% block stylesheets %}
{{ parent() }}
{% endblock %}
{% block javascript %}
{{ parent() }}
{% endblock %}
{% block body %}
{{ parent() }}
<div class="container">
<h1 class="title-page">
{{article.title}}
</h1>
</div>
<div class="container">
{% if article %}
<div>
<div style="margin: 22px 0 10px">
<a href="{{ app.request.baseUrl }}/images/articles/{{article.picture}}" target="_blank"><img style="display: block;margin-left: auto;margin-right: auto;max-height:400px" src="{{ app.request.baseUrl }}/images/articles/{{article.picture}}" alt="{{article.title}}"/></a>
{% if article.legend is defined and (article.legend|length > 0) %}
</div>
<div style="text-align: center; font-size:90%; max-width: 520px; margin-left: auto; margin-right: auto">
{{article.legend | raw}}
</div>
{% endif %}
</div>
<p class="introparagraph" >
{% if article.description is defined %}
<div style="">
{{article.description | raw}}
</div>
{% endif %}
{% if article.key_field is defined and article.key_value is defined and (article.key_field|length > 0) and (article.key_value|length > 0) %}
Sur les objets liés à <i>{{ article.key_value }}</i> : <a href="{{ path('detailed_search')}}?endpoint=default&{{ article.key_field|url_encode }}={{ article.key_value }}&with_images=false&callback=true#result_view" target="_blank">voir ici</a>
{% endif %}
{% if article.author_and_date is defined and (article.author_and_date|length > 0) %}
<br/><br/>{{article.author_and_date | raw}}
{% endif %}
{% if article.bibliography is defined and (article.bibliography|length > 0) %}
<p>
<h4>Bibliographie</h4>
{{article.bibliography | raw}}
{% endif %}
{% if article.source is defined and (article.source|length > 0) %}
<p>
<h4>Sources</h4>
{{article.source | raw}}
{% endif %}
{% endif %}
</p>
</div>
<!--DISCLAIMER-->
{% include 'disclaimer_popup.html.twig' with {'cookie_accepted':cookie_accepted??"false" } %}
{% endblock body %}