From 63bd017491fee20825bf1c60705e6f45b57c6987 Mon Sep 17 00:00:00 2001 From: f Date: Tue, 25 Jun 2024 16:59:37 -0300 Subject: [PATCH] fix: ocultar los posts con layout oculto --- app/views/posts/index.haml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/posts/index.haml b/app/views/posts/index.haml index 3de30aa3..ad019c3f 100644 --- a/app/views/posts/index.haml +++ b/app/views/posts/index.haml @@ -99,6 +99,8 @@ - dir = @site.data.dig(params[:locale], 'dir') - size = @posts.size - @posts.each_with_index do |post, i| + -# @todo issue-7537 + - next if post.layout.hidden? -# TODO: Solo les usuaries cachean porque tenemos que separar les botones por permisos.