mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 17:26:21 +00:00
usar la ruta absoluta también
en producción usamos links simbólicos entre directorios y sin resolver la ubicación real de los sitios estábamos generando rutas erróneas.
This commit is contained in:
parent
a4eade946f
commit
7de96a4581
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ class MetadataFile < MetadataTemplate
|
||||||
end
|
end
|
||||||
|
|
||||||
def relative_destination_path_with_filename
|
def relative_destination_path_with_filename
|
||||||
destination_path_with_filename.relative_path_from(site.path)
|
destination_path_with_filename.relative_path_from(Pathname.new(site.path).realpath)
|
||||||
end
|
end
|
||||||
|
|
||||||
def static_file_path
|
def static_file_path
|
||||||
|
|
Loading…
Reference in a new issue