|
| 1 | +{% extends "main.html" %} |
| 2 | + |
| 3 | +{% block styles %} |
| 4 | +{{ super() }} |
| 5 | + |
| 6 | +<link rel=stylesheet href=theme/assets/stylesheets/homepage.min.css> |
| 7 | +{% endblock %} |
| 8 | + |
| 9 | +<!-- Render hero under tabs --> |
| 10 | +{% block tabs %} |
| 11 | +{{ super() }} |
| 12 | + |
| 13 | +<!-- Hero for landing page --> |
| 14 | +<div class="tx-container"> |
| 15 | + <div class="md-grid md-typeset"> |
| 16 | + <div class="tx-hero"> |
| 17 | + <div class="tx-hero__title"> |
| 18 | + <h1 style="visibility: hidden">Geotribu</h1> |
| 19 | + </div> |
| 20 | + <div class="tx-hero__image"> |
| 21 | + <img src="https://cdn.geotribu.fr/img/internal/charte/geotribu_logo_rectangle_384x80.png" |
| 22 | + alt="Bannière Geotribu" draggable="false" title="logo Geotribu"> |
| 23 | + </div> |
| 24 | + <div class="tx-hero__content"> |
| 25 | + <p>Site collaboratif sur la géomatique <span class="em">libre</span> et <span class="em">ouverte</span>.</p> |
| 26 | + </div> |
| 27 | + </div> |
| 28 | + </div> |
| 29 | +</div> |
| 30 | + |
| 31 | +<!-- Content --> |
| 32 | +<div class="md-container secondary-section"> |
| 33 | + <div class="g"> |
| 34 | + {% if config.extra.latest %}{% for contenu in config.extra.latest.articles %} |
| 35 | + <div class="section" id="revues-de-presse"> |
| 36 | + <div class="component-wrapper"> |
| 37 | + <div class="first-column"> |
| 38 | + <h3>{{ contenu.title | default('Placeholder') }}</h3> |
| 39 | + <p>{{ contenu.description | default('Placeholder') }}</p> |
| 40 | + </div> |
| 41 | + <div class="second-column"> |
| 42 | + <div class="image-wrapper"> |
| 43 | + <a href="/{{ contenu.url_rel | default('/') }}" hreflang={{ |
| 44 | + contenu.language | default('fr') }} title="Lien vers le dernier article"> |
| 45 | + <img src="{{ contenu.image | default('https://cdn.geotribu.fr/img/internal/charte/geotribu_logo_rectangle_384x80.png') }}" |
| 46 | + alt="Illustration du dernier article publié" decoding="async" loading="lazy" draggable="false"> |
| 47 | + <div class="image-overlay">{{ contenu.title | default('Placeholder') }}, par {{ |
| 48 | + contenu.authors | default('Prénom NOM') | join(", ") }}</div> |
| 49 | + </a> |
| 50 | + </div> |
| 51 | + </div> |
| 52 | + </div> |
| 53 | + </div> |
| 54 | + {% endfor %}{% endif %} |
| 55 | + |
| 56 | + </div> |
| 57 | +</div> |
| 58 | + |
| 59 | +{% endblock %} |
| 60 | + |
| 61 | +<!-- Content --> |
| 62 | +{% block content %} |
| 63 | +{% endblock %} |
| 64 | + |
| 65 | +<!-- Light footer --> |
| 66 | +{% block footer %} |
| 67 | +<footer class="md-footer"> |
| 68 | + <div class="md-footer-meta md-typeset"> |
| 69 | + <div class="md-footer-meta__inner md-grid"> |
| 70 | + <!-- Copyright and theme information --> |
| 71 | + <div class="md-footer-copyright"> |
| 72 | + {% if config.copyright %} |
| 73 | + <div class="md-footer-copyright__highlight"> |
| 74 | + {{ config.copyright }} |
| 75 | + </div> |
| 76 | + {% endif %} |
| 77 | + Généré avec |
| 78 | + <a href="https://www.mkdocs.org" title="MkDocs">MkDocs</a> |
| 79 | + et le thème |
| 80 | + <a href="https://squidfunk.github.io/mkdocs-material/" title="Material for MkDocs"> |
| 81 | + Material for MkDocs</a> |
| 82 | + </div> |
| 83 | + {% block social %} |
| 84 | + {% include "partials/social.html" %} |
| 85 | + {% endblock %} |
| 86 | + </div> |
| 87 | + </div> |
| 88 | +</footer> |
| 89 | +{% endblock %} |
0 commit comments