ajout d'une page pour le serveur gitea
This commit is contained in:
@@ -12,12 +12,17 @@
|
||||
<ul class="nav-list">
|
||||
<li class="nav-element"><a class="nav-link" href="{{ get_url(path='@/accomplissements/_index.md')}}">Accomplissements</a></li>
|
||||
<li class="nav-element"><a class="nav-link" href="{{ get_url(path='@/objectifs/_index.md')}}">Objectifs</a></li>
|
||||
<li class="nav-element"><a class="nav-link" href="{{ get_url(path='@/cv/CV.md')}}">CV</a></li>
|
||||
<li class="nav-element"><a class="nav-link" href="{{ get_url(path='@/CV.md')}}">CV</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<section>
|
||||
{% block content %} {% endblock content %}
|
||||
<section>
|
||||
<div class="layout">
|
||||
<section>
|
||||
{% block content %} {% endblock content %}
|
||||
<section>
|
||||
<aside>
|
||||
{% include "partials/aside.html" %}
|
||||
</aside>
|
||||
</div>
|
||||
</body>
|
||||
<footer>
|
||||
<small class="footer-text">© <script>document.write(new Date().getFullYear())</script> Hatmos. All Rights Reserved.</small>
|
||||
|
||||
4
templates/partials/aside.html
Normal file
4
templates/partials/aside.html
Normal file
@@ -0,0 +1,4 @@
|
||||
{% if page.extra.aside %}
|
||||
{% set aside = load_data(path="content/" ~ page.extra.aside) %}
|
||||
{{ aside | markdown | safe }}
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user