From 1369687efcd2a33962e468ee18502e16de61241f Mon Sep 17 00:00:00 2001 From: Thomas Francart Date: Sun, 9 Feb 2025 22:44:04 +0100 Subject: [PATCH] Update social buttons --- src/_data/i18n/index.js | 4 +- src/_layouts/post.njk | 51 +++++++++++++++---- src/_layouts/posts.njk | 4 +- ...0206-nakala-shacl-automated-sparnatural.md | 2 +- static/assets/css/style-newwebsite.css | 31 +++++++++-- 5 files changed, 73 insertions(+), 19 deletions(-) diff --git a/src/_data/i18n/index.js b/src/_data/i18n/index.js index ac3164e..23e1682 100644 --- a/src/_data/i18n/index.js +++ b/src/_data/i18n/index.js @@ -17,8 +17,8 @@ module.exports = { "en": "Team" }, Posts: { - "fr": "Nos Posts", - "en": "Social media Posts" + "fr": "Médias Sociaux", + "en": "Social Medias" }, Contact: { "fr": "Contact", diff --git a/src/_layouts/post.njk b/src/_layouts/post.njk index 558c1db..bd9f53f 100644 --- a/src/_layouts/post.njk +++ b/src/_layouts/post.njk @@ -35,18 +35,47 @@ bodyClass: single single-post

Published in [{{ tags | join(', ') }}] · {{ page.date | readableDate('dd LLL yyyy', locale) }}
- Edit this Post + edit this post

- - {{ 'Comment this post' | i18n }} - + + {% if linkedin %} + + + + {% endif %} + + {% if mastodon %} + + + + + {% endif %} + + {% if bluesky %} + + + + + {% endif %} @@ -58,7 +87,7 @@ bodyClass: single single-post