From f4fc14c66d7d1c2c8a8236bd0c3ac7e315981e2c Mon Sep 17 00:00:00 2001 From: Adrian Victor Date: Sun, 5 Jul 2026 13:49:07 -0300 Subject: [PATCH] Add highlight to current section on header links, add rating warning on social page, add bribribribribri's website to hotlinks. --- .cache/mastodon.json | 2 +- site/_data/i18n.cjs | 8 ++++++-- site/_includes/header.njk | 8 ++++---- site/_includes/post.njk | 1 + site/blog.njk | 1 + site/index.njk | 2 ++ site/misc.njk | 1 + site/misc/misc.11tydata.cjs | 3 ++- site/posts/posts.11tydata.cjs | 1 + site/social.njk | 10 +++++++++- static/images/88x31/brigif.gif | Bin 0 -> 40079 bytes static/main.css | 19 +++++++++++++++++-- static/scripts/social.js | 13 +++++++++++++ 13 files changed, 58 insertions(+), 11 deletions(-) create mode 100644 static/images/88x31/brigif.gif create mode 100644 static/scripts/social.js diff --git a/.cache/mastodon.json b/.cache/mastodon.json index aa1ec6a..e461037 100644 --- a/.cache/mastodon.json +++ b/.cache/mastodon.json @@ -1,5 +1,5 @@ { - "lastFetched": "2026-07-05T15:35:13.105Z", + "lastFetched": "2026-07-05T16:45:30.248Z", "posts": [ { "date": "2026-07-03T01:51:37.604Z", diff --git a/site/_data/i18n.cjs b/site/_data/i18n.cjs index 357d5ca..c02f89a 100644 --- a/site/_data/i18n.cjs +++ b/site/_data/i18n.cjs @@ -98,7 +98,9 @@ module.exports = { changes: "changes", readingTime: "Reading time", mastodonPageDescription: "This is an archive of all my Mastodon posts.", - addMe: "Add me" + addMe: "Add me", + socialContentNotRated: "Social content is not rated and may mention topics not appropriate for all ages.", + clickHereToContinue: "Click here to continue" }, pt: { language: "português", @@ -172,6 +174,8 @@ module.exports = { changes: "mudanças", readingTime: "Tempo de leitura", mastodonPageDescription: "Essa página lista todas as minhas postagens do Mastodon.", - addMe: "Me adicionar" + addMe: "Me adicionar", + socialContentNotRated: "Conteúdo das redes sociais não é monitorado e pode conter tópicos não apropriados para todas as idades.", + clickHereToContinue: "Clique aqui para continuar" } }; \ No newline at end of file diff --git a/site/_includes/header.njk b/site/_includes/header.njk index 4065629..c33b34b 100644 --- a/site/_includes/header.njk +++ b/site/_includes/header.njk @@ -21,10 +21,10 @@