Ajout de la page contact
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{% import "post_macros.html" as post_macros %}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="{{ config.default_language }}">
|
||||
<head>
|
||||
{% include "partials/head.html" %}
|
||||
@@ -9,51 +9,37 @@
|
||||
<title> {{ config.title }} </title>
|
||||
{%- endblock title %}
|
||||
|
||||
{% if config.generate_rss %}
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path="rss.xml", trailing_slash=false) }}">
|
||||
{% endif %}
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="title">
|
||||
<h1 style="text-align:center;"> {{ config.title }} </h1>
|
||||
<h1 style="text-align:center;"> {{ config.title }}
|
||||
<a href="/rss.xml" class="icons">
|
||||
<img src="/img/rss.svg" alt="rss" class="icon">
|
||||
</a>
|
||||
<a href="/git/" class="icons">
|
||||
<img src="/img/code.svg" alt="rss" class="icon">
|
||||
</a>
|
||||
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
{% include "partials/menu.html" %}
|
||||
<div class="articles">
|
||||
{% block content -%}
|
||||
{% for page in paginator.pages %}
|
||||
{{ post_macros::title(page=page) }}
|
||||
<div class="slug">
|
||||
<p>{{ post_macros::polish(content=page.description) }} </p>
|
||||
<p class="readmore"> <a style="margin-right:2rem;" href="{{ page.permalink }}"> Lire la suite... </a></p>
|
||||
</div>
|
||||
{% block content %}
|
||||
{{ post_macros::polish(content=section.content) }}
|
||||
|
||||
{% endfor %}
|
||||
|
||||
<nav class="pagination center">
|
||||
<div class="pagination center">
|
||||
<div class="c-pagination">
|
||||
{% if paginator.previous -%}
|
||||
<a href="{{ paginator.previous }}">Plus récent</a>
|
||||
{%- endif %}
|
||||
</div>
|
||||
<div class="pagination_older">
|
||||
{% if paginator.next -%}
|
||||
<a href="{{ paginator.next }}">Plus vieux</a>
|
||||
{%- endif %}
|
||||
</div>
|
||||
|
||||
<span>Page {{ paginator.current_index }} sur {{ paginator.number_pagers }}</span>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
{%- endblock content %}
|
||||
|
||||
</div>
|
||||
{% endblock content %}
|
||||
</div>
|
||||
|
||||
<footer><span class="copyleft">©</span> kitoy.me <br/> Site généré avec <a href="https://getzola.org/"> Zola </a> </footer>
|
||||
|
||||
{% block js -%}
|
||||
<script src="{{ get_url(path="js/menu.js") }}" ></script>
|
||||
<script src="/js/menu.js"></script>
|
||||
{%- endblock js %}
|
||||
</body>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user