📝 docs: explain how to use custom social icons
This commit is contained in:
parent
39ba56f02c
commit
5ae629d171
@ -231,7 +231,9 @@ email = "dGFiaUBvc2MuZ2FyZGVu"
|
|||||||
# Decoding requires ~400 bytes of JavaScript. If JS is disabled, the email won't be displayed.
|
# Decoding requires ~400 bytes of JavaScript. If JS is disabled, the email won't be displayed.
|
||||||
encode_plaintext_email = true # Setting is ignored if email is already encoded.
|
encode_plaintext_email = true # Setting is ignored if email is already encoded.
|
||||||
|
|
||||||
# The icons available can be found in "social_icons" in the "static" folder.
|
# Social media links for the footer.
|
||||||
|
# Built-in icons: https://github.com/welpo/tabi/tree/main/static/social_icons
|
||||||
|
# To use a custom icon, add it to your site's `static/social_icons` directory.
|
||||||
socials = [
|
socials = [
|
||||||
{ name = "github", url = "https://github.com/welpo/", icon = "github" },
|
{ name = "github", url = "https://github.com/welpo/", icon = "github" },
|
||||||
{ name = "soundcloud", url = "https://soundcloud.com/oskerwyld", icon = "soundcloud" },
|
{ name = "soundcloud", url = "https://soundcloud.com/oskerwyld", icon = "soundcloud" },
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
+++
|
+++
|
||||||
title = "Domina la configuració de tabi: guia completa"
|
title = "Domina la configuració de tabi: guia completa"
|
||||||
date = 2023-09-18
|
date = 2023-09-18
|
||||||
updated = 2024-05-25
|
updated = 2024-06-19
|
||||||
description = "Descobreix les múltiples maneres en què pots personalitzar tabi."
|
description = "Descobreix les múltiples maneres en què pots personalitzar tabi."
|
||||||
|
|
||||||
[taxonomies]
|
[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
|
### Icona de feed
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
+++
|
+++
|
||||||
title = "Domina la configuración de tabi: guía completa"
|
title = "Domina la configuración de tabi: guía completa"
|
||||||
date = 2023-09-18
|
date = 2023-09-18
|
||||||
updated = 2024-05-25
|
updated = 2024-06-19
|
||||||
description = "Descubre las múltiples maneras en que puedes personalizar tabi."
|
description = "Descubre las múltiples maneras en que puedes personalizar tabi."
|
||||||
|
|
||||||
[taxonomies]
|
[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
|
### Icono de feed
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
+++
|
+++
|
||||||
title = "Mastering tabi Settings: A Comprehensive Guide"
|
title = "Mastering tabi Settings: A Comprehensive Guide"
|
||||||
date = 2023-09-18
|
date = 2023-09-18
|
||||||
updated = 2024-05-27
|
updated = 2024-06-19
|
||||||
description = "Discover the many ways you can customise your tabi site."
|
description = "Discover the many ways you can customise your tabi site."
|
||||||
|
|
||||||
[taxonomies]
|
[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
|
### Feed Icon
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
@ -185,7 +185,9 @@ full_content_in_feed = false
|
|||||||
# Decoding requires ~400 bytes of JavaScript. If JS is disabled, the email won't be displayed.
|
# Decoding requires ~400 bytes of JavaScript. If JS is disabled, the email won't be displayed.
|
||||||
encode_plaintext_email = true # Setting is ignored if email is already encoded.
|
encode_plaintext_email = true # Setting is ignored if email is already encoded.
|
||||||
|
|
||||||
# The icons available can be found in "social_icons" in the "static" folder.
|
# Social media links for the footer.
|
||||||
|
# Built-in icons: https://github.com/welpo/tabi/tree/main/static/social_icons
|
||||||
|
# To use a custom icon, add it to your site's `static/social_icons` directory.
|
||||||
# socials = [
|
# socials = [
|
||||||
# { name = "github", url = "https://github.com/welpo/", icon = "github" },
|
# { name = "github", url = "https://github.com/welpo/", icon = "github" },
|
||||||
# { name = "soundcloud", url = "https://soundcloud.com/oskerwyld", icon = "soundcloud" },
|
# { name = "soundcloud", url = "https://soundcloud.com/oskerwyld", icon = "soundcloud" },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user