diff --git a/README.md b/README.md index 9e682cc..de9639f 100755 --- a/README.md +++ b/README.md @@ -13,4 +13,13 @@ Ils doivent être téléversés sur le serveur directement. **Nommage des fichiers** : Pour être pris en compte dans le site final, les fichiers doivent être nommés de la manière suivante (attention à la casse) : * sons : nom-de-l'article-sans-majuscule->.wav|mp3 (TODO : les mettre en .mp3 plutôt qu'en .wav, et les placer dans le template plutôt que le .md) -* images : Nom de l article-x.jpg \ No newline at end of file +* images : Nom de l article-x.jpg +* contenu : chaque nouvel article doit contenir les champs suivants au début : +``` +Title: +Date: (date de publication, format : 2020-04-05 10:20) +Modified: (date de modification, idem) +Category: ("article" pour les articles avec texte, "gallery" si seulement des images) +Slug: (version sans espace ni caractère spécial du titre, par exemple "mon-titre-d'article". Sera repris dans l'URL de l'article.) +Summary: (un rapide sommaire, optionnel) +``` \ No newline at end of file diff --git a/content/pages/download.md b/content/pages/download.md index b6b7c47..e21f6cd 100755 --- a/content/pages/download.md +++ b/content/pages/download.md @@ -5,4 +5,4 @@ Category: misc Slug: download Summary: Donwload the content -You can download all the content of this website here. \ No newline at end of file +You can download all the content of this website [here](/betterdays.zip). \ No newline at end of file diff --git a/output/pages/download.html b/output/pages/download.html index f6c3492..19a59c6 100644 --- a/output/pages/download.html +++ b/output/pages/download.html @@ -14,7 +14,7 @@
-

You can download all the content of this website here.

+

You can download all the content of this website here.

diff --git a/output/theme/css/main-v2.css b/output/theme/css/main-v2.css index a929c8d..3c2f7c5 100755 --- a/output/theme/css/main-v2.css +++ b/output/theme/css/main-v2.css @@ -176,6 +176,11 @@ p a { .article-img img{ max-width: 80%; width: 80%; + padding-bottom: 20px; +} + +.article-img img:hover { + opacity: 0.7; } .article { diff --git a/themes/felicie/static/css/main-v2.css b/themes/felicie/static/css/main-v2.css index a929c8d..3c2f7c5 100755 --- a/themes/felicie/static/css/main-v2.css +++ b/themes/felicie/static/css/main-v2.css @@ -176,6 +176,11 @@ p a { .article-img img{ max-width: 80%; width: 80%; + padding-bottom: 20px; +} + +.article-img img:hover { + opacity: 0.7; } .article {