mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 07:06:23 +00:00
fix: ocultar los posts con layout oculto
This commit is contained in:
parent
c6a11d3ccd
commit
63bd017491
1 changed files with 2 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue