feat: add option to show author in post metadata (#322)

This commit is contained in:
Óscar
2024-05-27 02:16:03 +02:00
committed by GitHub
parent 86a4e5f5f4
commit 9d49a65354
24 changed files with 157 additions and 39 deletions

View File

@@ -1,7 +1,7 @@
+++
title = "Domina la configuración de tabi: guía completa"
date = 2023-09-18
updated = 2024-05-03
updated = 2024-05-25
description = "Descubre las múltiples maneras en que puedes personalizar tabi."
[taxonomies]
@@ -696,6 +696,16 @@ copyright_translations.es = "© $CURRENT_YEAR $AUTHOR $SEPARATOR A menos que se
## Metadatos
### Mostrar autoría
| Página | Sección | `config.toml` | Respeta jerarquía | Requiere JavaScript |
|:------:|:-------:|:-------------:|:-----------------:|:-------------------:|
| ✅ | ✅ | ✅ | ✅ | ❌ |
Para mostrar la autoría de un artículo, usa `show_author = true`.
Esto mostrará lxs autorxs establecidxs en la variable `authors = []` en el front matter del artículo. Si esto no está disponible, se usará `author = ""` en `config.toml`.
### Tiempo de lectura
| Página | Sección | `config.toml` | Respeta jerarquía | Requiere JavaScript |