mirror of
https://0xacab.org/sutty/sutty
synced 2025-01-19 13:03:39 +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')
|
%h3= t('posts.new')
|
||||||
%table.mb-3
|
%table.mb-3
|
||||||
- @site.layouts.each do |layout|
|
- @site.layouts.sort_by(&:humanized_name).each do |layout|
|
||||||
- next if layout.hidden?
|
- next if layout.hidden?
|
||||||
%tr
|
%tr
|
||||||
%th= layout.humanized_name
|
%th= layout.humanized_name
|
||||||
|
|
Loading…
Reference in a new issue