mirror of
https://0xacab.org/sutty/sutty
synced 2025-02-23 20:31:49 +00:00
fix: usar el formato de permalink
This commit is contained in:
parent
88670270ad
commit
9b3dd9b2f6
1 changed files with 3 additions and 1 deletions
|
@ -434,7 +434,9 @@ class Site < ApplicationRecord
|
|||
# Si estamos usando nuestro propio plugin de i18n, los posts están
|
||||
# en "colecciones"
|
||||
locales.map(&:to_s).each do |i|
|
||||
@configuration['collections'][i] = {}
|
||||
@configuration['collections'][i] = {
|
||||
'permalink' => configuration.send(:style_to_permalink, configuration['permalink'])
|
||||
}
|
||||
end
|
||||
|
||||
@configuration
|
||||
|
|
Loading…
Reference in a new issue