Ajout de couleurs css

This commit is contained in:
2023-10-06 05:14:12 +02:00
parent 4f4a9bc5bf
commit 62e21ce417
13 changed files with 321 additions and 177 deletions

View File

@@ -2,7 +2,7 @@
{% import "post_macros.html" as post_macros %}
{% block content %}
<h1> {{ page.title }} </h1>
<h2 class="titre" > {{ page.title }} </h2>
<h2 class="description"> {{ post_macros::polish(content=page.description) }} </h2>
<hr />
{{ post_macros::polish(content=page.content) }}

View File

@@ -4,7 +4,7 @@
{% block content %}
<h1> {{ page.title }} </h1>
<h2 class="titre"> {{ page.title }} </h2>
{{ post_macros::polish(content=page.content) }}

View File

@@ -5,27 +5,19 @@
<head>
{% include "partials/head.html" %}
{% block title -%}
{% block title -%}
<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 }}
<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 class="title">
<h1 style="text-align:center;"> {{ config.title }} </h1>
</div>
{% include "partials/menu.html" %}
@@ -36,7 +28,11 @@
{% endblock content %}
</div>
<footer><span class="copyleft">©</span> kitoy.me <br/> Site généré avec <a href="https://getzola.org/"> Zola </a> </footer>
<footer><span class="copyleft">©</span> kitoy.me <br/> Site généré avec <a href="https://getzola.org/"> Zola </a> <br/>
<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>
</footer>
{% block js -%}
<script src="/js/menu.js"></script>

View File

@@ -2,3 +2,9 @@
<link rel="stylesheet" href="/base.css" type="text/css">
<meta name="viewport" content="width=device-width, initial-scale=1">
{% if config.description %}
<meta name='description' content='{{ config.description }}'>
{% endif %}