From 2a6fafcb9c50a26a41103852b03eed8a867b7e48 Mon Sep 17 00:00:00 2001 From: f Date: Tue, 25 Jun 2024 17:06:36 -0300 Subject: [PATCH] fixup! fix: ocultar los posts con layout oculto --- app/views/posts/index.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/posts/index.haml b/app/views/posts/index.haml index ad019c3f..14c27ec9 100644 --- a/app/views/posts/index.haml +++ b/app/views/posts/index.haml @@ -100,7 +100,7 @@ - size = @posts.size - @posts.each_with_index do |post, i| -# @todo issue-7537 - - next if post.layout.hidden? + - next if @site.layouts[post.layout].hidden? -# TODO: Solo les usuaries cachean porque tenemos que separar les botones por permisos.