Style img posts & refactor
This commit is contained in:
@ -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 }}">
|
||||
|
||||
Reference in New Issue
Block a user