Style img posts & refactor

This commit is contained in:
2025-10-17 11:25:33 +00:00
parent 78ff00ff53
commit a198ea6eb3
6 changed files with 39 additions and 92 deletions

View File

@ -3,14 +3,14 @@
{% block content %}
<h1 class="my-5 position-relative fs-3 fw-bold sp-module-title">{{ __('Opinión', 'Sindikatua') }}</h1>
<section class="posts-noticias">
<section class="section-opinion">
{% if posts_opinion %}
{% for noticias in posts_opinion %}
{% set imagen = noticias.thumbnail.src | default('/wp-content/uploads/2025/10/Imagen_por_defecto_300.jpg') %}
{% set alt = noticias.thumbnail.alt | default('Imagen por defecto') %}
<div class="card my-3 position-relative">
<div class="card my-3 position-relative posts-noticias">
<div class="row g-0">
<div class="col-md-4">
<a href="{{ noticias.link }}" title="{{ noticias.title }}">