add pag default cnt

This commit is contained in:
2025-10-27 16:05:52 +00:00
parent 14a4652983
commit 8b1b8e8a62
6 changed files with 17 additions and 6 deletions

View File

@ -7,7 +7,7 @@
{% if posts_conflictos %}
{% for noticias in posts_conflictos %}
{% set imagen = noticias.thumbnail.src | default('/wp-content/uploads/2025/10/Imagen_por_defecto_300.jpg') %}
{% set imagen = noticias.thumbnail.src | default(imagen_default) %}
{% set alt = noticias.thumbnail.alt | default('Imagen por defecto') %}
<div class="card my-3 position-relative posts-noticias">