mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 17:56:21 +00:00
fix: ordenar layouts alfabéticamente #5085
This commit is contained in:
parent
3e6288fefe
commit
8c5535c5c7
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||
%h3= t('posts.new')
|
||||
%table.mb-3
|
||||
- @site.layouts.each do |layout|
|
||||
- @site.layouts.sort_by(&:humanized_name).each do |layout|
|
||||
- next if layout.hidden?
|
||||
%tr
|
||||
%th= layout.humanized_name
|
||||
|
|
Loading…
Reference in a new issue