Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/santiagodc8/tu_perfil.net/llms.txt

Use this file to discover all available pages before exploring further.

Categories group articles by topic. Every article must belong to exactly one category. The categories section lives at /admin/categorias.

Default categories

Six categories ship with the site by default. Their colors were updated in migration 003_update_category_colors.sql:
NameSlugColor
Perfil Políticoperfil-politico#2563EB (blue)
Perfil Judicialperfil-judicial#DC2626 (red)
Perfil Saludperfil-salud#16A34A (green)
Perfil Deportivoperfil-deportivo#EAB308 (yellow)
Perfil Regionalperfil-regional#9333EA (purple)
Perfil Internacionalperfil-internacional#0891B2 (teal)
You can rename these, change their colors, or add new ones at any time.

Creating a category

1

Fill in the name

Type the category name in the Nombre field — for example, Perfil Cultural. The slug is generated automatically from the name when saved.
2

Pick a color

Click the color swatch to open the browser color picker. Choose any hex color. The color appears as a badge on article cards throughout the site.
3

Click Crear

The new category appears immediately in the list below.

Editing a category

Click Editar next to any category. The name and color fields populate with the current values. Make your changes and click Guardar. To cancel without saving, click Cancelar. Editing a category name also updates the slug automatically. Articles linked to this category are not affected — they reference the category by its UUID, not its slug.

Deleting a category

Click Eliminar next to a category. You are asked to confirm.
You cannot delete a category that has articles assigned to it. The database enforces a foreign-key constraint (ON DELETE RESTRICT on articles.category_id). You must first reassign or delete all articles in that category before you can remove it.

Category fields reference

FieldTypeNotes
nametextDisplayed in the sidebar and on article cards. Required.
slugtextURL-safe version of the name. Auto-generated. Used in public category URLs like /categoria/perfil-politico.
colortextHex color string (e.g. #DC2626). Shown as a colored badge.

Build docs developers (and LLMs) love