From d04107f978b3e7593aaea99c5425b123f01fc01a Mon Sep 17 00:00:00 2001 From: welpo Date: Wed, 19 Jun 2024 21:35:52 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20docs:=20explain=20how=20to=20use?= =?UTF-8?q?=20custom=20social=20icons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/blog/mastering-tabi-settings/index.ca.md | 12 ++++++++++-- content/blog/mastering-tabi-settings/index.es.md | 12 ++++++++++-- content/blog/mastering-tabi-settings/index.md | 12 ++++++++++-- 3 files changed, 30 insertions(+), 6 deletions(-) diff --git a/content/blog/mastering-tabi-settings/index.ca.md b/content/blog/mastering-tabi-settings/index.ca.md index 0f2322b8b..a78ffa1b2 100644 --- a/content/blog/mastering-tabi-settings/index.ca.md +++ b/content/blog/mastering-tabi-settings/index.ca.md @@ -1,7 +1,7 @@ +++ title = "Domina la configuració de tabi: guia completa" date = 2023-09-18 -updated = 2024-05-25 +updated = 2024-06-19 description = "Descobreix les múltiples maneres en què pots personalitzar tabi." [taxonomies] @@ -636,7 +636,15 @@ socials = [ ] ``` -Le icones provenen de Font Awesome. Per veure una llista de tots els icones disponibles, fes una ullada al [directori `static/social_icons`](https://github.com/welpo/tabi/tree/main/static/social_icons). +Per veure una llista de totes les icones integrades, fes un cop d'ull al directori [`static/social_icons` a GitHub](https://github.com/welpo/tabi/tree/main/static/social_icons). + +Trobes a faltar algun icona? Si creus que seria una bona addició a tabi, no dubtis en [obrir un issue](https://github.com/welpo/tabi/issues/new?assignees=&labels=enhancement&projects=&template=feature_request.md&title=) o enviar una pull request ([exemple](https://github.com/welpo/tabi/pull/333)). + +Per utilitzar una icona personalitzada, pots afegir-la al directori `static/social_icons` del teu lloc web. Per exemple, si afegeixes `custom.svg`, la pots referenciar així: + +``` +{ name = "custom", url = "https://example.com", icon = "custom" } +``` ### Icona de feed diff --git a/content/blog/mastering-tabi-settings/index.es.md b/content/blog/mastering-tabi-settings/index.es.md index 2b780bd8a..5fc5880ff 100644 --- a/content/blog/mastering-tabi-settings/index.es.md +++ b/content/blog/mastering-tabi-settings/index.es.md @@ -1,7 +1,7 @@ +++ title = "Domina la configuración de tabi: guía completa" date = 2023-09-18 -updated = 2024-05-25 +updated = 2024-06-19 description = "Descubre las múltiples maneras en que puedes personalizar tabi." [taxonomies] @@ -638,7 +638,15 @@ socials = [ ] ``` -Los iconos provienen de Font Awesome. Para ver una lista de todos los iconos disponibles, echa un vistazo al [directorio `static/social_icons`](https://github.com/welpo/tabi/tree/main/static/social_icons). +Para ver una lista de todos los iconos integrados, echa un vistazo al directorio [`static/social_icons` en GitHub](https://github.com/welpo/tabi/tree/main/static/social_icons). + +¿Echas en falta algún icono? Si crees que sería una buena adición a tabi, no dudes en [abrir un issue](https://github.com/welpo/tabi/issues/new?assignees=&labels=enhancement&projects=&template=feature_request.md&title=) o enviar un pull request ([ejemplo](https://github.com/welpo/tabi/pull/333)). + +Para usar un icono personalizado, puedes añadirlo al directorio `static/social_icons` de tu sitio. Por ejemplo, si añades `custom.svg`, puedes referenciarlo así: + +``` +{ name = "custom", url = "https://example.com", icon = "custom" } +``` ### Icono de feed diff --git a/content/blog/mastering-tabi-settings/index.md b/content/blog/mastering-tabi-settings/index.md index 3c83e58e7..0f187767e 100644 --- a/content/blog/mastering-tabi-settings/index.md +++ b/content/blog/mastering-tabi-settings/index.md @@ -1,7 +1,7 @@ +++ title = "Mastering tabi Settings: A Comprehensive Guide" date = 2023-09-18 -updated = 2024-05-27 +updated = 2024-06-19 description = "Discover the many ways you can customise your tabi site." [taxonomies] @@ -641,7 +641,15 @@ socials = [ ] ``` -The icons are from Font Awesome. To see a list of all the available icons, take a look at the [`static/social_icons` directory](https://github.com/welpo/tabi/tree/main/static/social_icons). +To see a list of all the built-in icons, take a look at the [`static/social_icons` directory on GitHub](https://github.com/welpo/tabi/tree/main/static/social_icons). + +Missing an icon? If you think it would be a good addition to tabi, feel free to [open an issue](https://github.com/welpo/tabi/issues/new?assignees=&labels=enhancement&projects=&template=feature_request.md&title=) or submit a pull request ([example](https://github.com/welpo/tabi/pull/333)). + +To use a custom icon, you can add it to your site's `static/social_icons` directory. For example, if you add `custom.svg`, you can reference it like this: + +``` +{ name = "custom", url = "https://example.com", icon = "custom" } +``` ### Feed Icon