diff --git a/src/_includes/layouts/post.njk b/src/_includes/layouts/post.njk index 39b9b8b..6983693 100644 --- a/src/_includes/layouts/post.njk +++ b/src/_includes/layouts/post.njk @@ -5,6 +5,9 @@

{{ title }}

+ {% if illustration %} illustration de l'article {% endif %} diff --git a/src/posts/evenement-24-06-20.md b/src/posts/evenement-24-06-20.md index f7cca05..2798af4 100644 --- a/src/posts/evenement-24-06-20.md +++ b/src/posts/evenement-24-06-20.md @@ -2,6 +2,7 @@ title: Réunion d'information Astrolabe date: '2020-06-24' time: '19:00' +author: 'Florent Le Saout' type: 'event' illustration: '/images/reunion-24-06-2020.jpeg' layout: 'layouts/post.njk' diff --git a/src/scss/components/_post.scss b/src/scss/components/_post.scss index b80555d..ca58b25 100644 --- a/src/scss/components/_post.scss +++ b/src/scss/components/_post.scss @@ -106,6 +106,12 @@ padding: 0 get-size(500); } + .post-info { + display: inline-block; + align-self: flex-end; + margin-bottom: 2rem; + } + .post-pic { align-self: center; margin-bottom: 3rem;