web2019/templates/section.html
sovanna 0df8ab1fdb refactor(about-us): Cleans as possible
/about-us/ is a section not a page. Thus, according to Zola, a section has a _index.md .. but an _index.md file is attach with an file.html. That's why we cannot take advantage of a markdown content..for a section content.

It's the same thing with the homepage.

So basically, homepage and all section content (e.g URL like this ROOT/section/ ) will have its HTML file.
2019-07-19 12:38:11 +02:00

29 lines
560 B
HTML

{% extends '_base.html' %}
{% block hero %}
<div class="container-fluid hero2 d-flex flex-column justify-content-center">
<div class="container">
<div class="row mt-4 mb-4">
<div class="col-12 text-center mt-n0 mt-lg-n5">
{% if section.extra.title %}
<h1>{{ section.extra.title | markdown | safe }}</h1>
{% endif %}
<img src="{{ get_url(path='images/ion@2x.png', cachebust=true) }}" width="100" align="ion">
</div>
</div>
</div>
</div>
{% endblock %}