mirror of
https://0xacab.org/sutty/sutty
synced 2025-02-22 21:01:51 +00:00
dirty hack
This commit is contained in:
parent
7e7b7e7450
commit
0afa42ede9
1 changed files with 2 additions and 2 deletions
|
@ -8,8 +8,8 @@
|
||||||
-# El grupo individual, tenemos que crear uno si el post es nuevo, o
|
-# El grupo individual, tenemos que crear uno si el post es nuevo, o
|
||||||
-# todos los que sean necesarios si estamos editando un post.
|
-# todos los que sean necesarios si estamos editando un post.
|
||||||
- if @post.new?
|
- if @post.new?
|
||||||
-# Creamos un array vacío solo para poder tener acceso a :each
|
-# Creamos un array con un elemento solo para poder tener acceso a :each
|
||||||
- groups = []
|
- groups = [[]]
|
||||||
- else
|
- else
|
||||||
-# Obtenemos todos los valores. Puede ser un Hash o un Array
|
-# Obtenemos todos los valores. Puede ser un Hash o un Array
|
||||||
- groups = @post.get_front_matter(template.key)
|
- groups = @post.get_front_matter(template.key)
|
||||||
|
|
Loading…
Reference in a new issue