Mise en place de la page d'accueil et du changelog

This commit is contained in:
Pierre Martin
2021-03-19 20:20:48 +01:00
parent 7c64dcd6f4
commit b899d7db57
4 changed files with 205 additions and 11 deletions

View File

@@ -3,7 +3,7 @@ layout: base.html
title: Changelog - Sans.pub
---
<div class="max-w-lg mx-auto mt-20 px-4">
<div class="max-w-xl mx-auto mt-20 px-4 md:px-0">
<h1 class="font-semibold text-6xl mb-6">Changelog</h1>
<p class="text-gray-500">
Nouveautés, mises à jour et améliorations apportées à Sans.pub
@@ -15,12 +15,19 @@ title: Changelog - Sans.pub
{%- for changelog in collections.changelog -%}
<hr class="w-11/12 border-gray-200 mx-auto my-16" />
<div class="max-w-lg mt-6 mx-auto">
<h2 class="text-3xl">{{ changelog.data.title }}</h2>
<p class="mb-6 text-gray-500 text-sm font-extralight">
<section class="my-6 mx-auto px-4 md:px-0 md:max-w-xl">
<p
class="text-gray-500 text-sm font-extralight md:-ml-32 md:absolute md:pt-1 mt-3"
>
{{changelog.data.date | readableDate}}
</p>
<h2 class="mb-8 text-4xl font-bold">{{ changelog.data.title }}</h2>
{{changelog.templateContent}}
</div>
<div class="markdown">{{changelog.templateContent}}</div>
</section>
{%- endfor -%}
<hr class="w-11/12 border-gray-200 mx-auto my-16" />
<p class="text-center underline my-16 font-bold text-2xl">
<a href="/">Retourner à l'accueil</a>
</p>